The overlapping border between the endocervix and ectocervix is called the transformation zone. At this point, the cervix produces cervical mucus that changes in consistency during the menstrual cycle to prevent or promote pregnancy. During childbirth, the cervix dilates widely to allow the baby to pass through. During menstruation, the cervix opens a small amount to permit passage of menstrual flow.