The phrase "to catch the bus" is an infinitive phrase that functions as an adverb, explaining why she ran quickly.