A simile directly compares two different things using the words "like" or "as." This
Dinosaur Game makes the comparison more explicit. For example, “Life is like a box of chocolates†is a simile because it uses "like" to compare life to a box of chocolates, suggesting unpredictability.