The ketogenic diet is based upon the principle that by depleting the body of carbs, which are its primary resource of energy, you can require the body to melt fat for fuel, thereby making the most of weight management. When you consume foods that contain carbs, the body transforms those carbohydrates into glucose, or blood sugar, which it then uses for power. https://www.cnet.com/health/how-to-go-keto-a-beginners-guide-to-the-keto-diet/