The ketogenic diet, as we mentioned, is intended to enter the body in a state of ketosis, that is energy from fat and not from carbohydrates. It is necessary to consume foods high in fat and low in carbohydrates.