The correct option is D acts as an oxygen scavenger
The key roles of leghemoglobin are to promote the delivery of oxygen to the nitrogen-fixing bacteria and to shield the nitrogenase enzyme from oxygen inactivation. Leghaemoglobin is a scavenger of oxygen that protects nitrogenase during fixation of nitrogen. Leghemoglobin is a carrier of oxygen and hemoprotein present in leguminous plants' nitrogen-fixing root nodules. In reaction to the roots being colonised by nitrogen-fixing bacteria, called rhizobia, these plants produce it, as a result of the symbiotic relationship between bacteria and plant.