In the sentence "The competing teams shook hands after the game was over," the word "competing" is a present participle used to modify the noun "teams." It describes what the teams were doing—they were in the act of competing—giving additional information about the noun it modifies.