A dormitory is a building or part of a building that provides sleeping accommodations for a large number of people, typically in separate beds. It can be found on college campuses, boarding schools, military barracks, hospitals and other institutions where people need to live together temporarily while they work, study or receive medical treatment. The term "dormitory" is also used more broadly to refer to any large building that houses a group of people, such as an apartment block or hostel.