Synecdoche is the figure of speech in which a part of something is named to mean the whole, or the whole is named to mean a part. The Greek word means 'taking together', and the Latin rhetoricians who called the figure intellectio summarised its chief form as pars pro toto, a part for the whole. Everyday English is full of it: 'all hands on deck', 'fifty sail', 'a roof over one's head', 'England won the match'.
Handbooks distinguish several types. Part for whole is the commonest: 'hands' for workers, 'wheels' for a car. Whole for part reverses it: a nation for its team, 'the world' for many people. Species may stand for genus ('bread' for food), genus for species ('mortal' for a human being), and material for the thing made ('steel' for a sword), though some handbooks class the last under metonymy.
The relation to metonymy must be handled carefully. Both figures substitute by connection rather than likeness, which is what separates them from metaphor. Metonymy substitutes an associated thing that is not a part of what is meant: 'the Crown' for the monarch, 'the pen' for writing, 'Delhi' for the government. Synecdoche substitutes a part, whole, genus or species. The working test is whether the substituted word belongs to the thing meant. Silva Rhetoricae keeps the figures separate; the Oregon State guide treats synecdoche as a kind of metonymy whose associated thing is a component part. Antony's 'Friends, Romans, countrymen, lend me your ears' is the standard hard case, synecdoche if ears stand for listeners and metonymy if they stand for attention.
The effects of synecdoche in poetry are several. First, concreteness: a hand or a face can be seen where a worker or a servant is an abstraction. Second, emphasis on function: the part chosen tells the reader what matters about the whole. Gray's 'Elegy' remembers the village dead as 'Some heart once pregnant with celestial fire' and 'Hands, that the rod of empire might have sway'd'; heart and hands name the capacities for feeling and action that poverty left unused. Third, attitude: Macbeth's 'Take thy face hence' reduces a frightened servant to the pale face the king cannot bear to see, and the contempt reveals Macbeth's own failing nerve. Fourth, compression: Shelley's 'Ozymandias' says that the king's passions survive 'The hand that mocked them, and the heart that fed', where on the usual reading the hand is the sculptor and the heart the king, two men and their relationship in ten words. Fifth, fragmentation as meaning: in Shelley's poem about a shattered statue, describing people in pieces enacts the ruin, and Shirley's warning that 'Your heads must come / To the cold tomb' links the garlanded head of triumph to death.
Milton's 'On His Blindness' offers a quieter and more arguable instance: 'Thousands at his bidding speed' names a number for God's countless active servants, set against the single figure who only stands and waits.
In an appreciation answer, the student should confirm that a substitution is taking place, apply the part test and the resemblance test, name the type, ask why that part was chosen, and connect the figure to theme. Handled in this way, synecdoche shows how a poem can make a whole life, or a whole empire, visible in a hand.