All sorts of reactions take place in the soil and with plants/microbes. https://en.m.wikipedia.org/wiki/Nitrogen_cycle