The work of policing and prosecuting evolved in modern societies to protect its citizen. It was thought that solid police and robust legal systems would ensure peace and harmony. No wrongdoer would go unpunished, and the system is supposed to deter crime.