What is synecdoche?

A. A figure of speech that uses exaggeration to emphasize an idea or emotion.
B. when an animal, object, or idea is given human characteristics
C. when expressions that are not literally true but imply ideas indirectly are used for a descriptive effect
D. A figure of speech that uses part of something to refer to its whole

D. A figure of speech that uses part of something to refer to its whole