Part 1: The Golden Goddesses

The creation of Hyrule and everything in it is attributed to the Golden Goddesses.

Din created the Earth. Nayru brought order to the World. And Farore created all life. Once their work was complete, they then departed for the heavens, leaving behind the Triforce, an all-powerful artifact which would grant its holder their heart's desire.

Part 2: The Era of Hylia

The Triforce was entrusted to the goddess Hylia, to be kept from any and all evil. One day however, the Demon King Demise sought to take it and make the world his own. He raised an army of malevolent forces against Hyrule. Hylia gathered the surviving humans on an outcrop of earth and sent it to The Sky beyond a Cloud Barrier of her creation. That outcrop would later become Skyloft. She decided to hide the Triforce there as well.

Part 3: The Ancient Battle

Hylia rallied the Surface tribes of the Gorons, Parella, Mogma, Kikwi, and theAncient Robots They fought back against the evil forces led by Demise, and sealed them away. However, Hylia suffered grave injuries in the battle. Knowing the seal on Demise would not hold, she devised a plan. As the Triforce could not be wielded by a god, Hylia renounced divinity and became a mortal who would come of age when Demise returned. She created the Goddess Sword and the spirit Fi to aid her chosen hero, who would reveal himself when he drew the sword from its pedestal.

Part 4: The First Hero

Thousands of years later, Hylia is reborn as Zelda in Skyloft. On the day of the annual Wing Ceremony, a celebration of Hylia and Skyloft, she is taken down to the Surface in a tornado created by the Demon Lord Ghirahim, who attempts to have her kidnapped to revive Demise. Zelda is rescued from his minions by Impa, whom Hylia had sent through time to help her mortal self. Zelda soon regains her memories as Hylia, and she realizes her unfortunate destiny. Her childhood friend, Link, is led by Fi to draw the Goddess Sword, and is revealed to be Hylia's chosen hero. At the Temple of Time, home to Gate of Time, Zelda and Impa flee from Ghirahim by going through the Gate of Time and destroying it behind them. Link seeks out the three Sacred Flames to temper his sword into the Master Sword, which he uses to activate the second Gate of Time at the Sealed Temple. He finds Zelda by using the Gate of Time to travel back to the Era of Hylia, to a time shortly after when Demise was sealed. Zelda places herself in a thousand-year slumber to sustain the seal.

Part 5: The Fate of Hyrule

Link returns to the present, gathers the Triforce, and uses it to destroy Demise. Zelda awakens from her agelong slumber only to be kidnapped by Ghirahim. Ghirahim takes her to the past, where Demise is still alive, and uses her soul to revive his master. Link defeats Demise in battle and the Demon King is permanently sealed away in the Master Sword. With his last words, Demise vows an incarnation of his hatred (Ganon) shall ever follow "those who share the blood of the goddess and the spirit of the hero" in a cycle without end. Link thrusts the Master Sword into a pedestal in the Sealed Temple; Fi becomes forever dormant in the sword. Link and Zelda return to the present, but Impa stays in the past—in her own time—to watch over the Master Sword. Zelda and Link resolve to live on The Surface and watch over the Triforce. Zelda (Hylia reincarnate), Link, and others from Skyloft repopulated the surface world. Their descendants became known as Hylians.[note 1] During this time, the land was named Hyrule.

Here's a Link for you