The role of the atmosphere in nitrogen cycling