Carrying two full grocery bags, Petra raced out of the store to her car.
How do the words “Carrying two full grocery bags” function in this sentence?
A. as a participle that modifies the infinitive to her car
B. as a participial phrase modifying the subject, Petra
C. as a gerund that is the sentence’s subject
D. as a gerund phrase modifying the verb, raced