A sentence is a punishment that is given for committing a crime. If a magistrate, judge or jury decides you are guilty then you will be sentenced. This is where a judge or magistrate decides what punishment to give you (for example, time in prison, a fine, or community service).