These bacteria are responsible for nitrogen fixation. The amount of autotrophic bacteria is small compared to heterotrophic bacteria (the opposite of autotrophic bacteria, heterotrophic bacteria acquire energy by consuming plants or other microorganisms), but are very important because almost every plant and organism requires nitrogen in some way.[1]