* Noun: A disagreement, argument, or controversy.
* "There was a dispute over the inheritance."
* Verb: To argue or disagree about something.
* "They disputed the terms of the contract."
So, the part of speech depends on its function in the sentence.