The aortic valve separates the left ventricle from the aorta, while the pulmonary valve separates the right ventricle from the pulmonary artery. As the ventricles contract, ventricular pressure exceeds arterial pressure, the semilunar valves open and blood is pumped into the major arteries.