The obturator nerve continues posterior to the common iliac vessels, passes across the lateral wall of the pelvic cavity, and enters the obturator canal, through which the obturator nerve gains access to the medial compartment of the thigh.