many different types,(saprotrophic, autotrophic and heterotrophic) saprotrophs, means generally feeds on dead organic matter (decomposers), they do this by producing enzymes that digest the food outside the cell, the digested food molecules are then absorbed back into the bacterial cell. some bacteria produce own food by photosynthesis or chemosynthesis, they are autotrophic.
heterotrophic bacteria cannot manufacture their own food, Saprotrophic bacteria form part of this group, parasitic bacteria.