The correct answer is total institution.
According to Erving Goffman, a sociologist who coined this term, a total institution is a place where a particular group of people is isolated from the rest of the society for a particular time period. Examples of total institutions would be jails, orphanages, mental hospitals, convents, boarding schools, etc.