Metaphor vs. metonymy

Metaphor and metonymy are different kinds of processes. Metaphor is principally a way of conceiving of one thing in terms of another, and its primary function is understanding. Metonymy, on the other hand, has primarily a referential function, that is, it allows us to use one entity to stand for another.

–George Lakoff Metaphors We Live By