Photosynthesis is the process by which plants, algae, and some bacteria convert sunlight, carbon dioxide, and water into glucose (sugar) and oxygen. It involves the absorption of light energy by chlorophyll in the chloroplasts of plant cells to produce glucose, which is used as an energy source for the organism.