Noun:
* "I bought a new set of dishes." Here, "set" refers to a collection of dishes, making it a noun.
Verb:
* "The sun sets in the west." Here, "sets" describes the action of the sun going down, making it a verb.
Adjective:
* "She wore a set of pearls." Here, "set" describes the pearls, meaning it functions as an adjective.
Other:
* "Let's set the table." Here, "set" is part of a phrasal verb, "set the table," which means to prepare the table for a meal.
To determine the part of speech of "sets" in a sentence, look at how it's used in context and what it modifies or refers to.