Synecdoche

Synecdoche is a figure of speech in which a part of something is used to represent the whole, or vice versa. Here are five examples:

"All hands on deck."

"The White House issued a statement."

"The city mourned the loss of a great artist."

"Give me a hand with these groceries."

"The pen is mightier than the sword."