How are the underlined words used in the sentence?

The young lady, walking up the driveway, noticed that a package had been delivered.

A.
infinitive

B.
participial phrase

C.
participle

D.
infinitive phrase