The lung's fundamental unit is the alveolus, a small air sac where gas exchange occurs. Alveoli are lined by two types of epithelial cells: type I and type II pneumocytes. Type I pneumocytes are thin and facilitate gas exchange, while type II pneumocytes secrete surfactant, reducing surface tension.