The punishment aspect of prison is losing your freedom for a prescribed time. It should not be having your identity denied, being forced to live with dangerous members of the opposite gender, or being sexually assaulted. Also, approaches to criminal justice have changed with time because we know from experience what works and what doesn’t. For example, there was a time when it was popular to keep inmates isolated from others because this was believed to help their rehabilitation and help them meditate on their crimes. Now we’re realizing that complete social isolation does more harm than good. The “rulers of old” would probably feel differently about criminal justice if they knew what we know now. Rehabilitation is a huge part of prison, or at least it should be. It’s all fine and good to think that people should be punished for crimes that they commit, but if the punishment leaves them incapable of living a productive life when they get out, what good is it?