A farmer may plant a field with a legume crop to improve the soil. How does this work? (30 pts and will mark brainliest)