Ketosis is a state of elevated levels of ketone bodies in the body. It is almost always generalized throughout the body, with hyperketonemia, that is, an elevated level of ketone bodies in the blood. Ketone bodies are formed by ketogenesis when liver glycogen stores are depleted. The ketone bodies acetoacetate and β-hydroxybutyrate are used for energy.