From Zelda Dungeon Wiki
"You got the Eternal Spirit, an Essence of Time!
Even after life ends, it speaks across time to the heart."
— In-Game DescriptionEssences of Time found within Oracle of Ages. The Eternal Spirit is located within Spirit's Grave and is acquired after Link has defeated Pumpkin Head.
Eternal Spirit in the Essences of Time Chamber.