The chemical beta-hydroxybutyrate, or BHB, aids the body's energy production when fasting. When the body enters ketosis – when carbohydrate consumption is reduced by more than a specific proportion – BHB helps the body feel better and perform correctly.