Oxygen enters the lungs through the airways and reaches the alveoli. Here, it diffuses across the alveolar membrane into the pulmonary capillaries, where it binds to hemoglobin in red blood cells. This oxygenated blood is then transported throughout the body. Conversely, carbon dioxide, a waste product, diffuses from the blood into the alveoli to be exhaled.