A figure of speech involving a comparison between two unlike entities, explicitly indicated by the actual or implied words “like” or “as.”

somber like a cathedral
Love is like a river
I’m as corny as Kansas in August

Note that the words “like” or “as” do not have to present for the phrase to be a simile.

Life is a cabaret
You’re the cream in my coffee