When you follow the keto diet, your carb intake is so low that your body enters a state of ketosis, which is when your body burns off fat as a source of energy.
In this state, the body also creates organic compounds called ketones that energize you in the absence of carbs.