Structure: Alveoli are tiny, balloon-like sacs present at the end of the bronchioles in the lungs. They have very thin walls and are surrounded by a dense network of capillaries. Function: Alveoli provide a large surface area for the exchange of gases. Oxygen diffuses from the alveoli into the blood, and carbon dioxide diffuses from the blood into the alveoli to be exhaled.