When you eat a apple you are eating energy form the sun what does it mean?

all plants use sunlight for photosinthesis for breakage of water molecules in to hydrogen and oxygen inwhich oxygen is liberated and hydrogen is used for the production of carbohydrates the apple is rich in malic acid and carbohydrates