Criminal law is the branch of law that determines the sanctions to be applied to people who commit crimes in order to maintain social order. Criminal law includes the legal definition of committing a crime, the responsibility of people who commit crimes, the types of punishments and the legal rules that determine the execution of the punishment. Criminal law consists of penal laws that determine the definition of crimes and the penalties for crimes. Crimes are defined as behaviors that harm the health, safety and security of society. Penal laws provide different penalties according to the type and severity of crimes. Criminal law also includes legal rules that determine the types of punishments, durations and methods of execution of punishments for people who commit crimes.