Photosynthesis is the process by which green plants, algae, and some bacteria convert light energy, carbon dioxide, and water into glucose and oxygen. This process occurs in the chloroplasts of plant cells and is essential for the survival of most living organisms on Earth.