The median nerve runs the length of the arm, passes through the wrist (within the carpal tunnel), and ends in the hand. It controls some movement in the thumb and gives sensation to the thumb, index finger, middle finger, and half of the ring finger.