Recognize the symbiotic relationship: Many nitrogen-fixing bacteria, such as *Rhizobium*, form symbiotic relationships with the roots of leguminous plants, creating nodules where nitrogen fixation occurs. Other free-living bacteria, like *Azotobacter*, also perform nitrogen fixation independently.