The obturator nerve receives contributions from L2, L3, and L4. It passes through the obturator canal to innervate muscles of the medial (adductor) compartment of the thigh.