Identify which role the underlined gerund plays in the following sentence.
Alan enjoyed EATING at the restaurants in Italy.
A. simple subject
B. direct object
C. predicate nominative
D. indirect object
select the best answer from the choices provided