During development, the lungs grow out of the mediastinum, becoming surrounded by the pleural cavities. As a result, the outer surface of each organ is covered by pleura.
Each lung remains attached to the mediastinum by a root formed by the airway, pulmonary blood vessels, lymphatic tissues, and nerves.