Swimming is an exercise that works almost all of your muscles and it also
strengthens your heart.
How is the underlined gerund used in the sentence?
A. as the subject of the sentence
B. as the direct object of the sentence
C. as the indirect object of the sentence
D. as the verb in the sentence