In His Footsteps: St. Patrick of Ireland is one of the world's most popular saints. Apostle of Ireland, born at Kilpatrick, near Dumbarton, in Scotland, in the year 387; died at Saul, Downpatrick, Ireland, 17 March, 461. Along with St. Nicholas and St. Valentine, the secular world shares our love of these saints.
A gerund functions as a subject, object, or complement of the predicate. A participle functions as a modifier that expresses source, process, or function of the (head) noun. Beginning a movie requires a click of the start button. The student was in a beginning film-making class.
These are not gerunds (a noun formed from a verb): doing is the participle, and to do is the infinitive. However, 'doing something' is often a general term standing in for another verb, so it might depend on the construction of that other verb. A: I like walking early in the morning when it's not so busy..