Which does the following sentence contain?

Walking by the river is our favorite pastime.

participle
gerund as subject
infinitive as subject
prepositional phrase as adjective