Criminal law differs from criminal procedure. Criminal law is concerned with defining crimes and setting punishment, while criminal procedure refers to the process by which those laws are enforced. For example, substantive criminal law is used to determine whether someone has committed arson.