For information on Apples in vanilla Minecraft, see this page.
Apples can be obtained in Pixelmon as drops from wild Munchlax, Snorlax, Torterra and Tropius, in addition to the normal method of destroying Oak Leaves. They are used to make Golden Apples, which are required to make Rare Candies.