When you finish each of the two games, you can connect them using a Link Cable. When you do that, you get access to a linked game. Inside a Linked game, you can get the best items in the game and access a new dungeon called the rite chamber, where you can fight Ganondorf.