Understanding the nitrogen cycle