The right side of the heart receives deoxygenated blood from the body, which it then sends to the lungs via the pulmonary artery. In the lungs, carbon dioxide diffuses out of the blood into the air sacs (alveoli) and oxygen diffuses into the blood. Oxygen-rich blood returns to the left atrium of the heart via the pulmonary vein.