Photosynthesis is a complex series of reactions carried out by algae,
phytoplankton, and the leaves in plants, which utilize the energy from
the sun. The simplified version of this chemcial reaction is to utilize
carbon dioxide molecules from the air and water molecules and the energy
from the sun to produce a simple sugar such as glucose and oxygen molecules
as a by product. The simple sugars are then converted into other molecules
such as starch, fats, proteins, enzymes, and DNA/RNA i.e. all of the other
molecules in living plants. All of the "matter/stuff" of a plant
ultimately is produced as a result of this phohtosynthes reaction.
An important summary statement is that during photosynthesis plants
usecarbon dioxide and produceoxygen.