The word dreaming in the sentence, “The children went to sleep dreaming of the party“ is a participle.
To add, a participle is a form of a verb that is used in a sentence to modify a noun, noun phrase, verb, or verb phrase, and plays a role similar to an adjective or adverb.