Notice the ureter’s winding path. During pelvic surgeries, it’s common for the ureter to be cut. 

This diagram isn’t anatomically precise (the aorta isn’t at the same level as the rectum), but it does illustrate some important relationships.