Photosynthesis is the process by which plants, algae, and some bacteria convert sunlight, carbon dioxide, and water into glucose and oxygen. It is the primary means by which energy from the sun is captured and transformed into chemical energy, which is then used by organisms for growth, development, and reproduction. During photosynthesis, chlorophyll in the plant's cells absorbs light energy, which is used to split water molecules and release oxygen as a byproduct. The remaining hydrogen from the water combines with carbon dioxide to produce glucose, which can be stored or used immediately for energy.