A prison also known as gaol or jail, is a place in which people are physically confined and usually deprived of a range of personal freedoms. Imprisonment or incarceration is a legal penalty that may be imposed by the state for the commission of a crime. Other terms used are penitentiary, correctional facility, remand centre, detention centre, and gaol or jail. In some legal systems some of these terms have distinct meanings.