Glucose is a carbohydrate and stores chemical energy in its bonds. This chemical energy can be released through cellular respiration to power the organism's activities.
Oxygen is not a direct energy source, but it is essential for cellular respiration, which uses glucose to produce energy in the form of ATP.
So, the energy stored in the products of photosynthesis is primarily chemical energy within the glucose molecules.