A convicted criminal is sentenced as a penalty for his crime.