It is a simile, because there is a comparison between to things that are not the same using "like."
It is a simile because it is a figure of speech involving the comparison of one thing with another thing of a different kind, used to make a description more emphatic or vivid.
6.5m questions
8.6m answers