The Triwizard Tournament serves as the central narrative thread in Harry Potter and the Goblet of Fire and is a focal point for some pretty bizarre and dangerous events. Intended to be a friendly competition between the greatest wizarding schools in Europe, Hogwarts, Durmstrang and Beauxbatons; student representatives from each school go up against one another in a series of challenges to see which institution produces the best witches or wizards.
Source:https://www.cbr.com/harry-potter-triwizard-tournament-worse-goblet-of-fire/