At the very end of the brochial tree of the lung are the alveoli, where the exchange of oxygen and carbon dioxide occurs. Dark blood flows through the capillaries of the alveoli,
release CO2 into the alveoli, take up O2 from the alveoli, and then the bright red blood returns to the heart.