The law has set in place a procedure for how to handle people who commit crimes. When someone does something illegal then they will be tried for that crime, if they are under the age of 18 then they are tried as a minor, most times they are given lighter punishments.