The study of laws and procedures related to criminal offenses, including investigation, prosecution, and punishment.