Foam is a noun (the foam) and a verb (to foam).
Foaming is the present participle of foam.
"Foamy" is an adjective. It is used to describe something that is covered in foam or has a frothy appearance.
The foam is a part of the indigestible sugars from the lentils.
The part of speech for this particular word is a noun.
part of speech
The part of speech for "answer" is a noun.
adverb
what part of speech is beneath
The part of speech for "unfamiliar" is an adjective.
The part of speech of "came" is a verb.
The part of speech for "twirl" is a verb.
The part of speech for "explicit" is an adjective.