Leguminous crops, such as peas, pulses and gram, have Rhizobium bacteria in their root nodules. The Rhizobium bacteria have the ability to convert the atmospheric nitrogen into a form that can be used by the plants. Thus, these bacteria help in replenishing nutrients in the soil by providing nitrogen to the plants. The bacteria in turn get their food and shelter from the leguminous plants.