The heart pumps blood from the right ventricle to the lungs through the pulmonic valve.