What is the grammatical function of the gerund phrase?

Mariana loves reading wilderness survival stories, and she plans to write a book about her own experiences
- It is a subject
- It is an object of a verb
- It is an object of a preposition

- It is an object of a preposition