What is an analogy?

The feeling or idea that a word suggests
A brief or indirect reference to a well-known person, character, or event
A comparision between two otherwise unlike objects, people, places, or things
A lesson or message than an author expresses through the literary elements of the text

A comparison between two otherwise unlike objects, people, places, or things.