How does a rotation system work?

Does it help replace nutrients that other plants absorb?