Airplane cabins have cameras that are primarily used for safety and security reasons. Cameras can be placed outside the cockpit so pilots are aware of what's going on outside their cockpit door. Flight attendants can use cameras to view a cabin that might otherwise be obstructed from their seats.