Final answer:
Pulmonary surfactant prevents collapse of the alveoli and increases lung compliance, ensuring proper gas exchange in the lungs.
Step-by-step explanation:
Pulmonary surfactant prevents collapse of the alveoli and increases lung compliance. It reduces surface tension in the alveoli, allowing for easier inflation of the airways. Without surfactant, the alveoli would collapse during expiration. This is important for preventing respiratory distress syndrome and maintaining proper gas exchange in the lungs.