Photosynthesis is the process by which plants use sunlight to synthesize food from carbon dioxide and water. During photosynthesis, plants release oxygen as a byproduct, so photosynthesis provides food for plants and provides fresh air for people to breathe.