Bacteria feed in different ways. ... Autotrophic bacteria (or just autotrophs) make their own food, either through either: photosynthesis, using sunlight, water and carbon dioxide, or. chemosynthesis, using carbon dioxide, water, and chemicals such as ammonia, nitrogen, sulfur, and others.