The cervix is a ring of muscle between the uterus and vagina that keeps the offspring inside until birth.