Cabin (ship)
A cabin or berthing is an enclosed space generally on a ship or an aircraft. A cabin which protrudes above the level of a ship's deck may be referred to as a deckhouse.
Sailing ships
In sailing ships, the officers and paying passengers would have an individual or shared cabin. The captain or commanding officer would occupy the "great cabin" that normally spanned the width of the stern and had large windows.On a warship, it was a privileged area, separate from the rest of the ship, for the exclusive use of the captain. In large warships, the cabin was subdivided into day and night cabins by movable panels, called bulk-heads, that could be removed in time of battle to leave the cabin clear for the gunners to use the stern chasers several of which were usually stationed in the cabin.
On large three decker warships in the age of sail the captain's cabin was sometimes appropriated by the Admiral. The captain would be consigned to the cabin below on the middle gun-deck. On smaller stations, where the flagship would sometimes be a frigate, the frigate would be modified by adding a cabin on the weather deck to serve as living space for a commodore or admiral.
Modern warships
In most modern warships, the commanding officer has a main cabin—the in-port cabin, often adjacent to the ship's central control room —and a sea cabin adjacent to the bridge. Thus, when likely to be called from sleep or attending to administration, the commanding officer can go to the sea cabin and thereby be able to appear at the bridge or operations room immediately. The sea cabin is sparsely equipped, containing just a bunk, a desk, and basic toilet facilities. The in-port cabin is more lavishly furnished, with separate bedroom and combination sitting room/office, and more elaborate toiletry facilities.For ships intended to act as flagships, like the former United States Navy aircraft carrier —now a museum ship—the admiral also has a sea cabin and an in-port cabin, in addition to the captain's cabins.
Officers normally have their own cabins—sometimes referred to as staterooms—which double as their offices. Some senior petty officers may have cabins for similar reasons.
Sailors sleep in berthing spaces.