The mechanism governing how blood flows from the heart to the lungs depends on many factors including the pumping function of the right ventricle, properties of the arteries that carry the blood from the right ventricle to the lungs (pulmonary arteries), and the lungs themselves.