The inputs of photosynthesis are light energy, and matter in the form of water absorbed through the roots, and carbon dioxide absorbed through the leaves. ... The main outputs are oxygen, which is released into the air, and glucose sugar (chemical energy), which is used to keep the plant alive.