Return to Kakariko Village as adult Link after clearing the Water Temple. The town is burning and a phantom has escaped; Sheik appears, is attacked, and vanishes.
Go to the windmill and speak to the man with the strange instrument. He'll teach you a song for your ocarina, the Song of Storm, and explain that the well has been dry ever since he learned it.
Travel to the Temple of Time and return the Master Sword to its pedestal to become Young Link again. Then head back to Kakariko and play the song at the well. The water is gone, so you can descend.
Fight through what's inside and the Eye of Truth is waiting at the bottom. It's the mask that reveals hidden things, and it's the only way to spot the invisible enemies scattered through the game.