What is the meaning of Synecdoche?

A figure of speech that uses the name of a part of something to represent the whole, or the whole to represent a part.

The use of this figure of speech.

synecdoche

Source: wiktionary.org