It regulates social conduct and proscribes whatever is threatening, harmful, or otherwise endangering to the property, health, safety, and moral welfare of people.It includes the punishment of people who violate these laws. Criminal law differs from civil law, whose emphasis is more on dispute resolution and victim compensation than on punishment.