Photosynthesis is the process by which sunlight is used by green plants and certain other creatures to manufacture food from carbon dioxide and water. The presence of the green pigment chlorophyll and the generation of oxygen as a byproduct characterize photosynthesis in plants.