The gerund in the sentence is traveling and the purpose is to act as the subject.
7.8m questions
10.4m answers