A
simile
is a figure of speech comparing two unlike things that is often introduced by like or as.