The function of the cervix in fertility.