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