The traditional role for bacteria is that of decomposers, breaking down dead organic material and remineralizing the inorganic nutrients (ammonia, nitrate, phosphate) and carbon dioxide used by microalgae during photosynthesis to make new plant biomass.