How is the phrase "swimming laps" functioning in the following sentence? My grandmother's favorite form of exercise is swimming laps. A. It's the subject of the sentence. B. It's the direct object. C. It's a subject complement. D. It's the object of a preposition.