Criminal law refers to the complex body of laws and rules that define criminal acts, set punishments, and outline the rules guiding the process from investigation and arrest to sentencing and parole.