Blood passes through the capillaries. The pulmonary artery carries blood containing carbon dioxide to the air sacs, where the gas moves from the blood to the air, according to the NHLBI. Oxygenated blood goes to the heart through the pulmonary vein, and the heart pumps it throughout the body.