That's synecdoche.
The figure of speech used to represent the whole of a part or part of a whole is called synecdoche. It involves using a specific part of something to represent the entire thing or using the entire thing to represent just a part of it.
A synechdoche is used in this sentence. A synechdoche is a figure of speech in which a part is made to represent the whole or vice versa.
It is a figure of speech known as a synechdoche. For example, you might say "wheels" to mean a car or "bread" to represent food of all sorts.
A part of speech -- there are eight -- defines the classification of a word.For example, run is a verb, house is a noun and so forth.A figure of speech is a phrase used for emphasis which is not real.For example, 'you eat like a horse' doesn't mean that the person eats standing on all fours with chin in trough munching on oats. That figure of speech means that the person consumes more than average amounts of food.So a figure of speech is not a part of speech in the sense implied by your question.Another answer:'Figure of speech' is a noun phrase.
Noun--however, many words have several possible parts of speech; please submit the Whole Sentence when asking for part of speech--cannot be sure without seeing how it is used in the sentence, as that's what determines the part of speech.
A figure of speech in which deliberate exaggeration is used. For example- your mum is the best, most amazing, fantastic cook in the whole world.
The figure of speech is the phrase "off your hands".
What figure of speech is used in the line ''spring is the daughter of heaven and earth.
Hyperbole
when this and that are used to modify nouns they are treated as which part of speech
The part of speech that the word my is used as is an adjective.
What figure of speech the story of dead star
metaphor