It leaves the right side of the heart through the pulmonary artery, traveling to the lungs through smaller arteries, arterioles and capillaries.