The aortic and pulmonary valves are semilunar valves which separate the ventricles from the aorta and pulmonary artery, respectively. Partial pressure gradient changes during systole and diastole cause the opening and closing of the valves.