The genitofemoral nerve is primarily a sensory nerve that provides supply to the upper thigh region in both sexes. Specifically, it supplies the mons pubis and labia majora in females, and the skin of the anterior scrotum in males.