After the final boss fight against Ganondorf, where the Light Dragon crucially assists Link in the final phase, Zelda is restored to her original form, courtesy of the lingering spirits of Rauru and Sonia, allowing the game to end on a somewhat lighter note than it otherwise might have.