Obviously, this song was contrived by medical students as a mnemonic in anatomy class.
The phalangeal bones connected to the metacarpal bones,
The metacarpal bones connected to the carpal bones
The carpal bones connected to the radial and ulnar bones....
Now hear the word of Henry Gray.