people are sent to prisons as a punishment