The purpose of restricting your diet is to restrict calories, while not being nutritionally deficit.
This is very important to keep in mind in order to prevent long term deficiency diseases.