The terms metaphor and simile are slung around as if they meant exactly the same thing.
A simile is a metaphor, but not all metaphors are similes.
Metaphor is the broader term. In a literary sense metaphor is a rhetorical device that transfers the sense or aspects of one word to another. For example: