Ketogenic diet

A ketogenic diet is a diet in which most of the calories come from fat (70-75%). A moderate amount of calories come from protein (20-25%). Only a small number of the calories come from carbohydrates (5%). 
The diet forces the body to burn fats rather than carbohydrates for energy. Normally, the carbohydrates you eat are turned into glucose in the body, which is used for energy around the body and in the brain. But, if you don't eat enough carbohydrates, your body has a back-up system of burning fat instead. The liver can use stored fat and the fat you eat for energy. Stored fat is broken into two parts, fatty acids, and ketone bodies. Ketone bodies power the brain instead of glucose. This state of having a lot of ketone bodies in your blood is called "Ketosis." The liver can also make or release its own glucose through two processes(gluconeogenesis and glycogenolosis) as glucose is still needed for normal body function.
When you eat fewer carbs, your body starts using fat for fuel. This can cause your body to enter a metabolic state known as ketosis. Your liver converts fat into little energy molecules known as ketones, which your brain and other organs can utilize for energy.
Overview.
The keto diet is any diet that elicits ketosis. To achieve ketosis Keto we need to limit carbohydrates and use fat for fuel, to produce ketones. The regular ketogenic diet has two to four times more fat by weight than protein, and very little carbohydrates every day. This means not eating foods that are made from starch or sugar. High-carbohydrate foods are foods like fruits, bread, pasta, grains, cookies, and ice cream. Also, you have to increase your intake of fatty foods, like oils(usually from olives, avocados, or coconuts), butter, and fatty meats. It's also important to not eat too much protein. You should only eat just enough protein so you don't lose muscles. Too much protein reduces the ketone bodies in your blood and blocks fat burning.
History.
The ketogenic diet was originally created to treat people with epilepsy. Until other medicines became available, this was a good option for managing the condition.
Now, due to the other treatments available, and how restrictive the diet is, the ketogenic diet is usually prescribed when other options do not work for the patient.
Treatment in Epilepsy.
The ketogenic diet can lower the number of seizures. Most children who respond do so within two weeks, though experts recommend a trial of at least three months before assuming it has been ineffective. Children with refractory epilepsy are more likely to benefit from the ketogenic diet than from trying another anticonvulsant drug. Adolescents and adults may also benefit from the diet, though this diet is hard to follow. Questions still remain on why this diet works.
The ketogenic diet can also have some side effects, especially if not done properly, such as gastrointestinal problems.