How are types and aims of punishment associated with each other?

Different methods are used to punish criminals for their offences. Each punishment is associated with different aims.

PunishmentHow this meets an aim of punishment
Prisondeterrence/protection/reformation
Electronic taggingdeterrence/protection
Finesretribution/reparation
Community servicereformation/retribution
Death penaltyprotection/deterrence
Probationreform/vindication