Temple of Light

The Temple of Light became the resting place of the Triforce during the Era of Chaos. It is the only known elemental temple that is not located directly within Hyrule. Instead, it lies in the center of the Sacred Realm. It can be accessed only through the chamber of the Master Sword inside the Temple of Time. By withdrawing the Master Sword from the Pedestal of Time, a portal opens to the Sacred Realm, which leads to the Temple of Light.

Ocarina of Time
The Temple of Light, unlike all other temples in Ocarina of Time, is not an explorable area. Only one of its rooms is visited: the Chamber of Sages, which is where the Sages meet.

After Link withdraws the Master Sword from the Pedestal of Time, his spirit is sealed away in the Chamber of Sages due to him being too young to bear the title of the "Hero of Time". Since Link's action opened the gate to the Sacred Realm, Ganondorf took this opportunity to gain access to the Sacred Realm, eventually reaching the Temple of Light and taking the Triforce for himself. While the Sacred Realm transformed into the Dark World, Rauru used his powers to keep the Chamber of Sages intact.

Seven years pass, and Rauru, the Sage of Light, awakens Link in the Chamber of Sages now that he is old enough to be considered the Hero of Time. Rauru explains Link's fate and grants him the Light Medallion to add to his power, sending off the young hero to awaken the other five Sages so that they may add their might to Link and aid him on his quest to save Hyrule from Ganondorf's rule.

Though Link is not able to visit the Temple of Light on his own, he is always warped to the Chamber of Sages every time he awakens a Sage. Here, the Sage bestows their powers to Link in form of a Medallion before returning to Hyrule again.

At the end of the game, after Link gives the final strike to Ganon and Princess Zelda calls upon the power of the Sages to seal Ganondorf away, Rauru and the other five Sages appear inside the Chamber of Sages to send the King of Evil into the void of the Evil Realm.

A Link Between Worlds
Link visits the Chamber of Sages after rescuing each of the seven sages from the paintings that Yuga used to trap them. Once all seven sages are present, they reveal the Triforce of Courage to Link and create a staircase inside the chamber so that he can reach it.

The sages remain in the Chamber of Sages until the Triforce is returned to Hyrule.

Theories

 * The Pyramid of Power in is believed by some to be the Temple of Light, due to its location in the Sacred Realm, its appearance in the game's prologue speaking of the Sacred Realm, as well as the large Triforce marking in the pyramid's main chamber (where Ganon is fought).
 * It is possible that the Temple of Time of is actually the Temple of Light. To explore the temple, Link must enter a portal into what seems to be a parallel world. The portal is created with the Master Sword, also a key to the Sacred Realm. Thus, it is possible for this "parallel world" to be the Sacred Realm, making this part of the Temple of Time the Temple of Light. Additionally, the dungeon is light-themed and is decorated with markings of the Light Medallion.
 * It is theorized by some that the Silent Realm seen in SS undefined is, in fact, the Sacred Realm, as the Triforce is obtained inside it. If so, it is likely that the Temple of Light is the Silent Realm equivalent of Sky Keep, and thus, would incorporate its parallel version of the Statue of the Goddess.
 * What might potentially be another section of the Temple of Light outside of the Chamber of Sages is briefly shown at the end of A Link Between Worlds. Upon returning to Hyrule, Link, Zelda, and the Triforce end up in the middle of a stone pathway studded with columns, with several floating masses of rock. Zelda confirms that this location is indeed a part of the Sacred Realm, and so this area could be a part of the Temple of Light.
 * It is also conceivable that all aforementioned locations are simply different versions or sections of the Temple of Light, and thus all of them are really one and the same.

Trivia

 * The music in the Chamber of the Sages is a looped version of the music that plays when Princess Zelda tells Link the Legend of Hyrule earlier in the game.
 * It has been shown via emulation hacks (the debug rom) that the platforms in the background are, in fact, solid, and with aid of another hack it's possible to "visit" them. It is unknown whether this is a trace from the beta version of Ocarina of Time or just a glitch.
 * Despite not being explored, the temple still receives recognition as the "Light Room" in Ganon's Castle, this along with the effect of the Light Medallion still existing in Ocarina of Time's data leads Zelda hackers to believe that the Temple of Light was a dungeon in the beta of Ocarina of Time but was later removed.