There are two types of alveolar cells. The type I alveolar cells which lines the alveoli and much more abundant than type II alveolar cells. Then the type II alveolar cells lesser in number but functions differently than type I alveolar cells. Type II alveolar cells secrete surfactant (composed of lecitin and sphingomyelin) for the lungs. Surfactant reduces the surface tension inside the alveoli, preventing alveolar consolidation. This is important as babies with dysfunctional type II alveolar cells (usually preterm babies less than 32 weeks age of gestation) will have respiratory distress syndrome in the absence of surfactant.