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