The ketogenic diet was created in the 1920s as a medical treatment for epilepsy in children. It was based on the idea that a diet high in fat and low in carbohydrates would lead to a decrease in seizures. The theory behind the ketogenic diet is that when carbohydrates are restricted, the body is forced to use fat for fuel instead. This leads to an increase in ketone bodies in the bloodstream, which can have a calming effect on the brain and reduce seizure activity. The ketogenic diet has also been studied for its potential to treat other neurological disorders, such as Alzheimerβs disease, Parkinsonβs disease, and autism, as well as for potential weight loss benefits.