Criminal defense law consists of the legal protections afforded to those individuals accused of committing a crime. For a person to be convicted of a crime, the prosecutor must prove guilt beyond a reasonable doubt. Criminal offenses are those that violate public law. The law classifies criminal offenses into two different categories depending on their severity: misdemeanors and felonies.