The gerund is functioning as a noun in the sentence.
In the sentence above we can see that the gerund is naming the action that is happening in the sentence, which is the act of reading. Therefore, we can conclude that the gerund is functioning as a noun.
More information about verbs at the link:
https://brainly.com/question/13956220