The Goblet of Fire is the enchanted cup that selects the champions of the Triwizard Tournament. The official Harry Potter encyclopedia records it as the method of choosing who competes, and the Harry Potter Lexicon adds its look: a roughly-hewn wooden cup, entirely unremarkable except for the blue flames that rise from it. The old version of this page called it an "impartial judge" that imposes a "binding contract"; the opened sources support the binding contract, which the Lexicon describes as a binding magical contract, but neither source uses the judge wording, so this page no longer presents that phrase as a quotation.
The Lexicon's entry, cited to the book, describes the Goblet as a roughly-hewn wooden cup kept in an ancient, jewel-encrusted wooden casket that opens when tapped three times with a wand. Hopeful students write their name and school on a piece of parchment and drop it into the flames within twenty-four hours; on Halloween night the Goblet returns the names of the three it has judged most worthy to represent their schools. Being chosen is not optional: entering creates what the Lexicon, quoting the book, calls a binding magical contract, and a champion is obliged to see the tournament through to the end.
Its one recorded safeguard is the Age Line. The official fact file says Albus Dumbledore drew the line around the cup to stop underage students entering, and that it was not foolproof: the Goblet still selected the under-seventeen Harry Potter, and would-be entrants Fred and George Weasley grew lovely, thick white beards for their trouble when they tried to ageing-potion their way past it.
The Goblet's canonical appearance is the 1994-95 Tournament hosted at Hogwarts. The Lexicon places it first in the Entrance Hall, then in the Great Hall for the Halloween feast, where it shocked everyone by naming four champions instead of three: Fleur Delacour, Cedric Diggory, Viktor Krum and Harry Potter. The official page lists the same four. The Lexicon records why: Barty Crouch Jr., disguised as Mad-Eye Moody, had cast a Confundus Charm on the Goblet to trick it into accepting a name submitted for a fourth school. Once the selection was made, the flames went out and would not relight until the next Tournament.
The Goblet selects; it does not award. The prize of the tournament it opened is the Triwizard Cup, a separate object with its own entry, and the two should not be merged.