Synecdoche is a figure of speech where a part represents the whole, or the whole represents a part. It's a…