Photosynthesis is the process by which green plants and some other organisms use sunlight to synthesize foods from carbon dioxide and water.
Plants take in carbon dioxide from the air and water from the soil.