Then the player eats the apple and the chemical energy inside him transfers int his body for him to use. (for instance play basket ball or produce KE or TE).
When he bounces the ball he uses the chemical potential energy inside him to do it. As the ball bounces it experiences these energy transformations Max GPE, GPE to KE, Max KE and EPE, and then uses the EPE to go back up.
Now lets find the energy behind shooting a basketball. As the ball lifts up it gains GPE. When he pushes it with his hand which has KE from the CPE from the apple he had for lunch causing the ball to raise up and gain GPE then it changes to KE as it falls down into the hoops.