Answer:
Punishment has five recognized purposes:
deterrence
incapacitation
rehabilitation
retribution and restitution