A simile compares two unlike things using like or as, such as in the phrase
"Her smile was as bright as the sun."