if someone is guilty of a crime they are sentenced to a punishment