Which structure of the female reproductive system serves as the narrow opening of the uterus that extends into the vagina?