On long-haul flights, flight attendants and pilots have access to rest compartments, which are hidden rooms usually located in overhead areas of the aircraft. These compartments contain beds with pillows, duvets, and safety belts. Pilots often have their own private quarters with additional amenities like business class seats and a lavatory.