This is a comparison of two unlike things using the terms "like" or "as".
Simile.
This is a direct comparison of two things, in which they are said to be (in some sense) the same thing.
Metaphor.
This is the reference to a person, place, or event from history, literature, or religion with which a reader is likely to be familiar.
Allusion
This is extreme exaggeration used in a literary work.
Hyperbole
This goes beyond the literal meanings of words to create special effects or feelings.
Figurative language
This is a phrase in common use that can not be understood by literal or ordinary meanings.
Idiom
This is something which seemingly cannot be, yet it is; a contradiction.
Oxymoron