Plants in the Leguminoceae (Fabaceae) family, such as Purple Prairie Clover (Petalostemum purpureum) have root nodules containing Rhizobium ("root living") bacteria.

The bacteria convert atmospheric nitrogen (N2) into an organic form that plants can use in a process called nitrogen fixation.

In turn, the bacteria obtain photosynthetic products from the plant.