Reference:
https://www.grammarly.com/blog/whats-the-difference-between-a-simile-and-a-metaphor/
Simile and Metaphor—What’s the Difference?
Similes use the words like or as to compare things—“Life is like a box of chocolates.”
In contrast, metaphors directly state a comparison—“Love is a battlefield.”
Note:
Here are some examples of similes and metaphors:
Life is like a box of chocolates. (Simile)
My life is an open book. (Metaphor)
That baby is as cute as a button! (Simile)
Baby, you’re a firework. (Metaphor)