Pulmonary surfactant is produced by type II alveolar cells and acts to reduce surface tension in the lungs. It is composed primarily of phospholipids including dipalmitoyl phosphatidylcholine and surfactant proteins. Surfactant functions to prevent alveolar collapse during exhalation by reducing surface tension and to maintain uniform alveolar size. Disruption of surfactant production can lead to respiratory distress syndrome in newborns and adults with lung injury.