Metonymy is a figure of speech where you substitute a part of something for the actual thing.

This Speaker Gym exercise can be accessed only by Gym members. Join now!