1. Full of or characterized by animation, vigor, or courage: a spirited debate. 2. Having a specified mood or nature. Used in combination: high-spirited; low-spirited.
One product of photosynthesis is glucose (sugar), which provides the basis for most food chains. The second product of photosynthesis is oxygen which comes in handy if your happen to be an aerobic organism that requires oxygen for survival.
Photosynthesis is the plant process where light energy is used to generate the production of ATP. The ATP so formed is used to form the bonds between carbon dioxide molecules and hydrogen atoms released from water by the light energy. The process forms sugar (glucose) molecules and produces oxygen as a waste product. At a glance, the equations: sugar + oxygen --> carbon dioxide + water + ATP energy (cellular respiration) and carbon dioxide + water + sun's energy --> sugar + oxygen (photosynthesis) look to be the reverse of each other.