Most bacteria are heterotroph, they do not produce their own food. There are also autotroph bacteria: chemosynthetic bacteria or photosynthetic bacteria. Some photosynthetic bacteria, like cyanobacteria, make photosynthesis like plants do, using water. Others, the sulfur photosynthetic bacteria, use hydrogen sulfide (H2S) instead of water.