Hello, Zoey—and welcome to English Forums. -- 'Celebrating' is a gerund (a noun) as object of the verb 'celebrate'. -- 'Searching' is not a gerund; it is a participle whose phrase ('searching for enemy planes') is a verb complement to 'traversed'.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.