After determining your preferred protocol of intermittent fasting, you should start planning out your diet for the days that you do eat. On a standard keto diet, 75 percent of total calories should come from fat, 20 percent should be from protein and 5 percent should come from carbs. When getting started, however, you can start with a modified keto diet instead, which is often considered more flexible and easy-to-follow. With this diet plan, about 40–60 percent of calories should come from healthy keto fats with 20–30 percent from protein foods and 15–25 percent from carbohydrates.
This is a new area, but the research that has come out since this article is also positive, and promising. One example: In this June 2018 study of 23 people with obesity, 12 weeks of 8-hour time-restricted feeding resulted a 2.6% decrease in body weight and a 7 point decrease in systolic blood pressure, which was significant when compared to controls: https://www.ncbi.nlm.nih.gov/pubmed/29951594
When you eat a meal, your body spends a few hours processing that food, burning what it can from what you just consumed. Because it has all of this readily-available, easy to burn energy (thanks to the food you ate), your body will choose to use that as energy rather than the fat you have stored. This is especially true if you just consumed carbohydrates/sugar, as your body prefers to burn sugar as energy before any other source.