* Verb (present tense, third person singular): He *works* hard.
* Noun (plural): The artist's *works* are on display.
* Noun (singular): This is a *work* of art.
To determine the correct part of speech, you need to look at the sentence and how "works" is used.