A metaphor is a figure of speech that compares two unlike things by saying one thing is another. It is used to make a description more vivid and create a deeper meaning by highlighting similarities between the two things being compared. For example, "time is a thief" compares time to a thief to convey the idea of how time seems to steal away moments.