Once the rhizobia are inside the root cells, the root cells divide rapidly, forming a nodule.
The rhizobia create ammonia from nitrogen in the air, which is used by the plant to create amino acids and nucleotides. The plant provides the bacteria with sugars.