Both metaphor and similes are used to make comparisons.
Metaphors: Are directly state a comparison.
Example 1: The classroom was a zoo.
Example 2: He is a cat.
Similes: Use the words like or as to compare things.
Example 1: You are as fast as a cheetah.
Example 2: You are as strong as a gorilla.