Noun:
* "The demands of the job were overwhelming."
* Here, "demands" refers to the requirements or expectations of the job.
Verb:
* "The boss demands a lot from his employees."
* Here, "demands" is the action of requiring something.
To determine the part of speech, look at the sentence structure and the context.