Understand the key terms: Photosynthesis is the process by which organisms, such as plants and algae, use sunlight to convert carbon dioxide and water into glucose and oxygen. Chemosynthesis, on the other hand, is the process by which certain organisms, such as bacteria, use energy derived from inorganic chemical reactions (e.g., oxidation of hydrogen sulfide) to produce organic molecules.