The nitrogenase complex is extremely sensitive to inactivation by oxygen, so the enzyme must be protected from this reactive substance. The leghaemoglobin has a very high affinity for O2, so maintaining a low enough concentration to protect the nitrogenase.