The pelvic viscera are located in the midline of the pelvic cavity. The bladder is anterior and the rectum is posterior. In women, the uterus lies between the bladder and rectum (Fig. 5.8B). Other structures, such as vessels and nerves, lie deep to the peritoneum in association with the pelvic walls and on either side of the pelvic viscera.