Etymology
Today it means: The principal deck of a ship or vessel Full definition →
From main + deck.
Etymology from Wiktionary, CC BY-SA 4.0.