Which of the following is the best definition of an analogy?

A. identifying differences in words

B. comparing synonyms and antonyms

C. organizing words by classification

D. showing a similarity between unlike things

D. showing a similarity between unlike things