Ancient farmers discovered that alternating between different crops on the same land improved yields and reduced the incidence of pests and diseases. Today, we know that crop rotation can preserve soil health in many ways and can offer numerous benefits to farmers. Bacteria in the roots of leguminous crops, such as peas, beans, or alfalfa, can capture nitrogen from the atmosphere and make it available to crops for uptake.