The lungs are located in the thoracic cavity and are separated by the mediastinum. Each lung has an apex, base, borders, and surfaces. The root of the lung contains structures like the bronchi, pulmonary arteries and veins. The lungs are divided into lobes by fissures. Bronchopulmonary segments are supplied by their own artery. Alveoli have type I and II pneumocytes, endothelium, and macrophages. Surfactant is produced by type II cells and reduces surface tension in the alveoli.