A barrack is a military building where soldiers live and sleep. Barracks can be made stronger with sandbags or with barbed wire fences. Sometimes they are built underground. They have been used for many years by many countries in many wars.