Generate text that is semantically similar to this text: spend time in prison or in a labor camp ;
a prisoner is punished for committing a crime by being confined to a prison for a specified period of time .