Not sure if this is what your looking for, but hope it helps. Nitrogen gas can be changed into nitrogen compound through nitrogen fixation, which is the conversion of nitrogen gas to ammonia, that are absorbed by the plant to make protein. Another way is through animals eating plants and obtaining nitrogen, which is later released, by decomposes, when the organism dies.