A
compartment is a portion of the space within a
ship defined vertically between
decks and horizontally between
bulkheads. It is analogous to a room within a building, and may provide
watertight subdivision of the ship's
hull important in retaining
buoyancy if the hull is damaged. Subdivision of a ship's hull into watertight compartments is called
compartmentation.