Custodial sentencing aims to act as a form of revenge/justice for the victim, their friends/family, as well as society more generally. This refers to the idea that the offender should pay for their offending behaviour in some way, in this case, taking away their freedom