The ketogenic diet, originally developed in the 1920s to treat epilepsy, has surprising effects on brain function. By depriving the body of carbohydrates, it prompts the liver to produce ketones, which the brain can utilize for energy. This shift may explain why some individuals experience a reduction in seizures while on this diet, challenging the long-held belief that glucose is the brain's only fuel source.