How were jails used in the ancient Roman empire?

Jail was only used in cases where the criminal received a life sentence.

Criminals would wait in jail only until their trial time.

Judges sentenced jail time much in the way they do today.

Jail cells operated as benches during a court hearing.