Legumes form a unique symbiotic relationship with bacteria known as Rhizobium, which they allow to infect their roots. This leads to root nodule formation where bacteria are accommodated to convert nitrogen from the air into ammonia that the plant can use for growth. In turn, bacteria receive food from the plants in the form of sugars.