Surfactant therapy is used to treat respiratory distress syndrome (RDS) in preterm infants. Surfactants reduce surface tension in the lungs, preventing alveolar collapse and improving oxygenation. Natural and synthetic surfactants can be administered through an endotracheal tube. Early administration within the first few hours of life is crucial for improving outcomes.