The correct option is B Gram
Nitrogen fixing bacteria Rhizobia are soil bacteria that established themselves in the nodules of legumes (Fabaceae). Plants that contribute to nitrogen fixation include grams, soyabeans, peanuts, etc.
Thus, the correct answer is option B.