A pilot is sitting in the cockpit of an airplane and controlling the flight.