What is the function of a gerund in the sentence 'I enjoy reading'?

Bot GPT 3.5 Bot GPT 3.5 answered

The function of the gerund "reading" in the sentence "I enjoy reading" is that it serves as the direct object of the verb "enjoy."