The correct option is B Both A and B
Nitrogen fixation is a process by which atmospheric nitrogen is converted into ammonia and other compounds like nitrate. These nitrogenous compounds are then made available for plants. Bacteria involved in the process of nitrogen fixation are called as nitrogen fixing bacteria. Examples include Rhizobium, Azotobacter.
Thus, the correct answer is 'Both A and B.'