Bacteria capable of living symbiotically in roots of legumes from which they receive energy and often utilize molecular nitrogen.