A metaphor is a figure of speech that, for rhetorical effect, refers to one thing by mentioning another. It may provide clarity or identify hidden similarities between two different ideas. Metaphors are usually meant to create a likeness or an analogy.
Analysts group metaphors with other types of figurative language, such as hyperbole, metonymy, and simile. According to Grammarly, "Figurative language examples include similes, metaphors, personification, hyperbole, allusions, and idioms." One of the most commonly cited examples of a metaphor in English literature comes from the "All the world's a stage" monologue from As You Like It: