From Zelda Wiki, the Zelda encyclopedia
Apples are recurring items found in A Link to the Past and Twilight Princess.
Location and Uses
In A Link to the Past, Apples are a health restoring item that can only be obtained by dashing into trees with the Pegasus Boots. Apples are also the answer to one of the Lumberjack's riddles.
In Twilight Princess, Apples are found in the stalls of Hyrule Castle Town's South Road. However, Link cannot actually take or use them.