State prison, also known as a correctional facility, is a term used to denote institutions that house convicted criminals and inmates who have been sentenced for a certain period by the state. Synonyms for the term 'state prison' include terms such as correctional institution, penitentiary, jail, detention center, reformatory, lockup, and correctional facility. These are all facilities where individuals are imprisoned by the government for violating the law. These institutions have various levels of security, from minimum to maximum, depending on the seriousness of the crime committed by the inmates. Regardless of the term used, state prisons serve as a means of rehabilitation and punishment for those who have committed criminal offenses.