Identify the type of phrase used to modify the subject in the following sentence.

The students dancing in the gym seem to be having a great time!

A.absolute phrase
B. prepositional phrase
C. past participial phrase
D. present participial phrase