Usually, words ending in "-ment" are nouns.
For example, take the root word "commit", which is a verb.
Add "-ment".
You get "commitment". This is a noun.
The word "ending" can function as a noun or an adjective, depending on the context.
This type of word is called a "participle". It was not usually considered a separate part of speech when I learned English but may be now.
The part of speech for this particular word is a noun.
The part of speech for "answer" is a noun.
Adverbs typically use the ending -ly in English. Adverbs modify verbs, adjectives, or other adverbs to provide more information about how an action is performed.
Disappointment is a noun. The suffix "-ment" is used to form nouns, so if you see a word ending in "ment", it is likely to be a noun. For example, "amuse" is a verb, but "amusement" is a noun.
punctuation
Stealthily is an adverb. The ending "-ly" gives a strong indication of its part of speech.
"Teaches" is a verb. "Which" is a pronoun. which part of speech is become
You are possibly looking for adjective.
infinative
verb
A noun (like anything ending in -ISM).
The word "ending" can function as a noun or an adjective, depending on the context.
Adjective. (Words ending in -ous are usually adjectives.)
adjective (like everything ending in -OUS)
A suffix changes a word's part of speech. For example, the word 'happy' is an adjective. But when you add a suffix, which is an ending, it can change the part of speech. Happily is an adverb. Happiness is a noun.