Nitrogen fixation is the process by which nitrogen is converted from its stable dinitrogen form in the atmosphere into ammonia. This process is essential because plants cannot use atmospheric nitrogen. It is carried out by nitrogen-fixing bacteria that contain the nitrogenase enzyme complex. There are two types of biological nitrogen fixation - symbiotic fixation occurs through root nodules in legumes formed via their association with Rhizobia bacteria, and asymbiotic fixation by free-living bacteria and cyanobacteria in soil. Nitrogen fixation requires a large amount of energy, so it is tightly regulated by various mechanisms at the genetic level and through feedback inhibition when fixed nitrogen is abundant.