A cockpit or flight deck[1] is the area, on the front part of an aircraft, spacecraft, or submersible, from which a pilot controls the vehicle.
The cockpit of an aircraft contains flight instruments on an instrument panel, and the controls that enable the pilot to fly the aircraft. In most airliners, a door separates the cockpit from the aircraft cabin. After the September 11, 2001 attacks, all major airlines fortified their cockpits against access by hijackers.