When a writer compares things using the words like or as, it is a simile.
EXAMPLES (from an online collection, Anonymous):
Comparisons using LIKE:
Comparisons using AS:
» Glossary: Literary Terms to Know