How does bacteria survive?

There are three types of bacteria. Some bacteria are animal-like. The prey on the on other bacteria for food in order to survive. Other bacterias are fungi (mushroom) like. They survive by getting nutrients from dead objects. The fungi -like bacteria is commonly used today s yeast or for curing infections. The third type of bacteria is plant-like. They use photosynthesis to make thei food.