The ulnar nerves are branches stemming from the cervical nerves, which supply impulses to and from the muscles of the forearms and hands and from the skin of the hands.