The ketogenic diet is a low-carb, high-fat eating plan that encourages the body to burn fat for energy.