Beans & legumes have nodules on their rootlets that will pump nitrogen from the environment into your soil -- making a more nitrogen-rich soil. Would be great to plant these either near heavy nitrogen feeders like: tomatos, corn & cruciferous vegetables. Or to rotate your crops and plant beans where the heavy nitrogen feeding veggies were planted the year before.