Analogy is the comparison of one thing to another. Language generally has two major kinds, metaphor and simile.