There are many difference species of bacteria that perform this function. It is not as if there is one species for freshwater, and another for saltwater, there are many species. I would presume many of them can live in both conditions also. Regardless of species they all fall under the category of nitrifying bacteria. See the link above and you will get a better idea.