Photosynthesis is a fundamental biological process by which plants, algae, and certain bacteria convert light energy into chemical energy, producing oxygen and glucose from carbon dioxide and water.