Read the sentence.
The best parts of having a best friend are to laugh together and to help each other.

Which response correctly explains the function of the infinitive phrases in the sentence?
AThe infinitive phrases function as nouns.
B The infinitive phrases function as adjectives.
CThe infinitive phrases function as adverbs.
D The infinitive phrases function as verbs.