metonymy
figure of speech where a thing or concept is referred to indirectly by the name of something closely associated with it
en-US/mɪˈtɑnəmi/
en-GB/mɪtɒnɪmiː/
figure of speech where a thing or concept is referred to indirectly by the name of something closely associated with it