Cyanobacteria, for example, carry out oxygenic, or oxygen-producing, photosynthesis, just as plants do, producing nutritional carbohydrates by using water as an electron source and carbon dioxide as a source of carbon.