Prisons have four major purposes. These purposes are retribution, incapacitation, deterrence and rehabilitation. Retribution means punishment for crimes against society.