The process of comparing an inanimate object to a living thing, like a human per se, is called personification.
figurative language
The comparison of two objects that are unlike each other is called a:
allegory
epic simile
Simile
The language that describes ideas, people, or things through stated or implied comparison is called metaphorical language. Metaphors draw connections between unrelated concepts to enhance understanding or create vivid imagery. This form of expression allows for deeper emotional resonance and can convey complex ideas in a more relatable manner.
allegory
You have to consider the things, or people in question, with regard to some characteristic that is common in both
The word "like" in a comparison is a preposition. It is used to show the similarity between two things or people.
Analogy.
a simile is comparison describing things
That type of comparison is called an analogy. Analogies draw connections between two things based on similarities or relationships.