We were waiting for the bus. The underlined part is-

Answer: 
a prepositional phrase
We were waiting for the bus. The underlined part is-