In the given sentence 'I always enjoy eating a midnight snack', Gerund: eating and Noun use: direct object.
In linguistics, gerund is any nonfinite verb that forms in various languages, one that functions as a noun.
A gerund is a noun form of a verb that ends in -ing such as - playing, running and eating and any action verb can be made into a gerund.
An -ing form is said to be gerund when it behaves as a verb within a clause so that it can be modified by an adverb or have an object but the resulting clause as a whole and functions as a noun within the larger sentence.
To know more about gerund, refer
https://brainly.com/question/2019908
#SPJ4