Answer is ketosis.
Ketosis is a state for the body, when it is almost completely fueled by fat (acetoacetate and β-hydroxybutyrate). When source of carbohydrates is low or when concentration of glucose is low in blood, body use keto-bodies for energy. Major food for brain are keto-bodies.