Which term best describes the underlined words?

Having a budget is a good plan.

A.gerund phrase

B.infinitive phrase

C.participial phrase