The ketogenic (keto) diet, high in fats and low in carbohydrates, can help control seizures in some epilepsy patients by altering brain metabolism.