Like carbon dioxide, plants can also take nitrogen gas directly from the atmosphere.
Why plants don't absorb nitrogen from the air directly like carbon dioxide and oxygen