The pulmonary valve, a semilunar valve, is between the right ventricle and the pulmonary artery. This valve has three cusps. This valve opens when the right ventricle contracts, allowing blood to flow into the pulmonary artery, which carries deoxygenated blood to the lungs for oxygenation. It closes when the pressure in the pulmonary artery exceeds the pressure in the right ventricle during ventricular relaxation (diastole), preventing backflow into the ventricle.