Physiology

True regarding physiology of surfactant is