Bacteria do a large part of nitrification, or turning atmospheric nitrogen into nitrates in the soil, where it can be used by plants. Bacteria are decomposers in the soil, sediments and water, breaking down macromolecules into useful smaller molecules that can be used by other organisms.