As the heart muscle contracts and relaxes, the valves open and shut, Iettingblood flows into the ventricles and atria at alternate times. When the left ventricle contracts, the mitral valve closes and the aortic valve opens, so blood flows into the aorta.