Photosynthesis is the process by which green plants use radiant energy from the sun to manufacture their own food. It occurs in leaves and requires water absorbed by the roots, carbon dioxide from the atmosphere, and the green pigment chlorophyll to absorb radiant energy. The gases needed are carbon dioxide, while oxygen is released as a byproduct.