The cervix connects the vagina to the uterus. It has a tiny passage that, during a menstrual period, allows menstrual blood to leave the uterus and, during sexual intercourse, directs sperm into the uterus.