Nitrogen-fixing microorganisms are generally divided into the following three categories:
1, autotrophic nitrogen-fixing bacteria, refers to a kind of microorganisms that can fix nitrogen independently without relying on other organisms. Autotrophic bacteria (a variety of cyanobacteria
Cyanophyta can fix nitrogen and belongs to autotrophs; Rhizobia or something is a consumer, heterotrophs.
Autotrophic and heterotrophic are only energy utilization channels, and both exist.