We started recycling to turn old tires into playground surfacing.

How does the word 'recycling' function in the sentence.

A. as an appositive
B. as a subject
C. as an indirect object
D. as a direct object