The criminal justice system imposes prison sentences to ensure reparation by offenders to persons affected by their offences.