Photosynthesis is the biological process by which green plants, algae, and some bacteria convert light energy into chemical energy. During this process, they use sunlight, carbon dioxide, and water to produce glucose and oxygen. The primary pigment involved is chlorophyll, which captures light energy. This process is essential for life on Earth, as it provides oxygen and forms the basis of the food chain.