barracks; military quarters
Refers to a building or group of buildings where soldiers live and sleep, typically on a military base.
新兵たちは兵舎に案内された。
The new soldiers were guided to the barracks.
The new recruits live in the barracks while undergoing training.
They built a new barracks as part of the base expansion.
宿舎 is a general word for lodging or living quarters (not necessarily military), while 兵舎 refers specifically to soldiers' barracks.
兵舎 is the standard, formal term for military barracks, whereas バラック rarely carries that military sense and usually means a makeshift shack.
官舎 is government-provided housing for civil servants, whereas 兵舎 is specifically a military barracks for soldiers.
Quonset hut
Compound of 兵 (hei, 'soldier') and 舎 (sha, 'building, quarters').