Nitrogen that we think of and want in the soil mostly comes from ammonium compounds which are found in good quantities in anaerobic environments.
Also there are many free style bacteria that go merrily along all on their own, these guys can operate as either aerobic or anaerobic organisms, thus they can utilize a good number of different compounds to get their carbon and nitrogen from.
most acidic soil is made that way sulfur compounds or nitrogen compounds which release nitric acid or sulfuric acid as a by product of these bacteria using those compounds as a food source.
We love visitors, that's why we live in a secluded cabin deep in the woods. "Buzzard's Roost (Asnikiye Heca) Farm." Promoting permaculture to save our planet. you can call me Dr. Redhawk