it is a simile.
a figure of speech involving the comparison of one thing with another thing, using like or as
9.5m questions
12.2m answers