Literary or conversational method of expressing an idea by analogy, using subjects as metaphors to explain a situation or a process. This is often done for dramatic effect, using a powerful analogy.
Examples of metaphor
Let slip the dogs of war
There's a hole in the bucket with this idea.
Madder than a hornet.