Most carbs you consume are broken down into sugar that enters the bloodstream. When you rein in carbohydrates on the keto diet, you have lower levels of blood glucose (high blood glucose can lead to diabetes). A study in the journal Nutrition reveals that a ketogenic diet improves blood glucose levels in type 2 diabetics more significantly than a low-calorie diet and can also decrease the dosage of your diabetes meds.
The first modern study of fasting as a treatment for epilepsy was in France in 1911. Twenty epilepsy patients of all ages were "detoxified" by consuming a low-calorie vegetarian diet, combined with periods of fasting and purging. Two benefited enormously, but most failed to maintain compliance with the imposed restrictions. The diet improved the patients' mental capabilities, in contrast to their medication, potassium bromide, which dulled the mind.