Cervical mucus is mucus secreted by the glands of the cervix. It changes in consistency throughout the ovulation cycle. It generally acts as a barrier to the entry of foreign objects to the uterus; however, it is also thought to help transport sperm into the uterus.