The word 'cockpit' first related to the sport of cockfighting and later started being used as a metaphor for any scene of combat. The term eventually served to describe a space from which boats were steered and was later adopted by pilots in World War I, to refer to cramped operating quarters of fighter planes.