Read the sentence.

Sparkling in the sunlight, the spring seemed to beckon swimmers to plunge into its cool depths.

The underlined phrase in this sentence is best classified as
an appositive phrase.
a gerund phrase.
an infinitive phrase.
a participial phrase.