Alveoli are the tiny air sacs in the lungs where gas exchange occurs. They are lined with simple squamous epithelium composed of type I and type II alveolar cells. Type I cells are involved in gas exchange, while type II cells produce surfactant, which reduces surface tension and prevents alveolar collapse.