The blood then gets pumped to the pulmonary artery and into the lungs. In the lungs, the blood gets loaded with oxygen and carbon dioxide is released.