Surfactant is a substance composed primarily of lipids and proteins that is secreted by the epithelial cells of the alveoli in the lungs. It plays a crucial role in reducing surface tension, preventing the alveoli from collapsing, and thus ensuring effective gas exchange. In the context of nursing, understanding the role and function of surfactant is essential, especially in neonatal care and in managing respiratory conditions.