When your body becomes good at burning fat for energy, you start burning fat for energy all the time.
Then, you stop getting hungry and eating become optional. Your body burns instead the internal fat stores for energy.
You eat less because you aren’t hungry and you lose weight. Humans have been doing this forever.