A place or institution where people are held against their will, in the US especially for long-term confinement, as of those convicted of serious crimes or otherwise considered undesirable by the government.
Confinement in prison (sense 1).
Any restrictive environment, such as a harsh academy or home.colloquial, figuratively