It is simply one of many ways to manipulate the diet. If it results in a calorie deficit, you'll lose weight. If it results in a calorie surplus you'll gain weight.
nzdw
It is not a diet The only diet that really works is eating less so that your body needs to burn it's own recources