How are the underlined words used in the sentence?

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









A.
participle







B.
infinitive







C.
participial phrase







D.
infinitive phrase
walking up the driveway is underlined