The ulnar nerve is a major nerve of the upper limb originating from the medial cord of the brachial plexus. It runs down the medial arm, passes behind the medial epicondyle through the cubital tunnel, and supplies muscles in the forearm and hand, providing sensation to the pinky and half of the ring finger.