what does metaphor mean

Metaphor and simile are almost alike.

"a simile likens one thing to another dissimilar thing and once meant 'resemblance, similarity'; a metaphor acts as if the two compared things are identical and substitutes one for the other"
from http://thesaurus.com/browse/metaphor