Cockpit originally meant a pit for cockfighting, then transferred to a warship's cramped surgical area, then to a yacht's steering area, and finally to an aircraft's pilot compartment.
The compartment in an aircraft, spacecraft, or racing car where the pilot or driver sits.
Originally a cockpit was literally a pit or enclosed area where cockfights were staged — cock (rooster) plus pit. By the 1700s, it was applied to the lower deck area of a warship where the surgeon treated wounded sailors, a cramped, bloody space compared to a cockfighting arena. From there it transferred to any small, enclosed compartment for the person in control. Key roots: cock (Old English