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.
During photosynthesis (photo = light, synthesis = to make), energy from sunlight is captured with special light-absorbing chemicals (called pigments) and this captured energy is used to make living tissue from the carbon molecules in carbon dioxide gas. Oxygen is released almost as a waste product.