A cockpit or flight deck is the area, usually near the front of an aircraft or spacecraft, from which a pilot controls the aircraft.

Cockpit of an Antonov An-124
Cockpit of an A380. Most Airbus cockpits are glass cockpits featuring fly-by-wire technology.
Swiss HB-IZX Saab 2000 during flight
Robin DR400
1936 de Havilland Hornet Moth
Cockpit of Cessna 182D Skylane
View of a Cockpit seen from outside (Boeing 747-400)
Cockpit of an Airbus A319 during landing
Cockpit of an IndiGo A320

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.[1][2]