How are gerunds similar to infinitives?

A. They both are examples of irregularly conjugated verbs.
B. They can both function as adjectives.
C. They can both function as nouns.
D. The both need auxiliaries.

Please select the best answer from the choices provided