Metonymy

Metonymy (/mɛˈtɒnəmi/)[1] is a figure of speech in which a thing or concept is referred to by the name of something closely associated with that thing or concept.[2]

The Pentagon (pictured), the headquarters building of the United States Department of Defense, is a common metonymy used to refer to the U.S. military and its leadership.