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