As explained in another comment, this is exactly the meaning.
Prolonged fasting causes a part of the cells of the immunity system to die, presumably the less healthy cells.
After fasting, the immunity system is regenerated from the surviving cells, which are supposed to have been the healthier among the original cells, so the immunity system is supposed to become "reset".
So fasting is assumed to be like setting up a life-or-death competition for the cells of the immunity system, so that only the fittest will survive.
Prolonged fasting causes a part of the cells of the immunity system to die, presumably the less healthy cells.
After fasting, the immunity system is regenerated from the surviving cells, which are supposed to have been the healthier among the original cells, so the immunity system is supposed to become "reset".
So fasting is assumed to be like setting up a life-or-death competition for the cells of the immunity system, so that only the fittest will survive.