Leghemoglobin binds oxygen with very high affinity, maintaining extremely low free oxygen concentration in root nodules. This protects oxygen-sensitive nitrogenase enzyme from being inactivated by O2. It does not transport CO2, provide color, or supply N2 to the bacterium.