Metonymy: 

Metonymy is a figure of speech in which one word is substituted for another with which it is closely associated.