A metaphor is a figure of speech that describes a subject by equating it with another unrelated subject. It is used to create a vivid image or convey a deeper meaning beyond the literal interpretation. Examples include "Time is a thief" and "The world is a stage."