 Certain plants, namely Fabaceae, form root nodules in order to associate and form a symbiotic relationship with nitrogen-fixing bacteria called rhizobia.Due to the high energy required to fix nitrogen from the atmosphere, the bacteria take carbon compounds from the plant to fuel the process.In return, the plant takes nitrogen compounds produced from ammonia by the bacteria.