Plants in the Leguminoceae family, such as this pea, have root nodules containing Rhizobium ("root living") bacteria, which fix nitrogen and obtain photosynthetic products from the plant.
A cell from a root nodule of the legume soybean is filled with bacteroids in vesicles.