Criminal law establishes the classifications of crimes, how guilt or innocence is determined, and the types of punishment or rehabilitation that may be imposed.