Legume crops (such as beans, lentils, and peas) have symbiotic relationships with nitrogen-fixing bacteria (like Rhizobium) in their root nodules. These bacteria convert atmospheric nitrogen into a usable form for plants, thereby enhancing soil nitrogen content and fertility.