Photosynthesis is the process by which plants, algae, and some bacteria use sunlight, water and carbon dioxide to produce oxygen and energy in the form of glucose. It takes place in chloroplasts, where chlorophyll captures sunlight that is used to convert carbon dioxide and water into oxygen and energy-storing sugars. Organisms undergo photosynthesis because it provides them with an essential source of chemical energy to fuel their growth and activities.