Analogy.
allegory
Analogy is a comparison of two things in order to show how they are similar. An analogy compares two like things.
epic simile
Simile
allegory
It explicitly compares things using phrases such as similar to or as if. -apex
The literary device that uses "like" or "as" to make a comparison between two different things is called a simile.
The process of comparing an inanimate object to a living thing, like a human per se, is called personification.
A comparison that uses "like" or "as" is called a simile. This literary device helps to create vivid imagery by comparing two things that are not typically alike. Example: "Her smile is as radiant as the sun."
There is an expression "like comparing apples to oranges," which is used of false comparisons and inaccurate analogies. "Apples to apples" comparison would mean comparing things that really are similar.
No
If you have used like or as in the comparison then its a simile If not then its a metaphor