The best option would be the second one: Photosynthesis stores energy because more energy is stored in glucose than it is in carbon dioxide or water.
Photosynthesis is a process in which plants use energy from the sun along with carbon dioxide and water to form glucose and oxygen as waste product. Based on the diagram, glucose stores more energy as compared to other molecules.