This is called crop rotation.
Crop rotation refers to the regular change in the kind of crops grown in the fields: this means that every year a different plant would grow in the ground, using different nutrients. This prevents soil from becoming infertile.