Explain in detail the processes leading to biological nitrogen fixation. Ensure you outline how the symbiotic relationship between the bacteria and the plant is developed, the genes involved and the function of different enzymes.