A cockpit is the open space, normally near the front of an aircraft, where a pilot controls the aircraft. A different name for the cockpit is the flight deck, flight deck can also refer to the flight deck on an aircraft carrier. Current cockpits have walls on all sides, this may not be the same for some small aircraft, and cockpits on aircraft with passengers have the cockpit separated from the passenger area of the aircraft. Motorboats also have cockpits.