What is Metonymy?

The term, ‘metonymy’, refers to the literary device that uses a single characteristic or name of an object to identify an entire object or related object.