Synecdoche is a figure of speech where a part of something is used to represent the whole, or vice versa, or where the whole is used to represent a part.
It’s a form of metonymy, highlighting a relationship between elements. For instance, saying “all hands on deck” employs synecdoche, with “hands” referring to the sailors as a whole.
Similarly, referring to a car as “wheels” or a wealthy individual as “suits” are examples of using parts to represent the whole.