Etymology
Today it means: Used to express joy, particularly that felt during success or victory. Full definition →
Perhaps derived from whoopee or whoot.
Etymology from Wiktionary, CC BY-SA 4.0.