* Verb: When it describes the act of getting married. For example: "They will marry next year."
* Noun: When it refers to the state of being married. This is less common, but it can be used in phrases like "They are living in marry."
The specific part of speech depends on how the word is used in a sentence.