Earlier quoted context omitted.
I would think that the main mechanism is that if you "use" more than you eat, then you lose weight. You have two levers to lose weight: "use more" and "eat less". And then there is the part where not everything you eat is egal, so "eat better", somehow.
Technically correct about the balance, but practically people overestimate the amount you can burn with extra activity. The main reason to exercise while losing weight is that if you do resistance training, you preserve more of your muscle and lose predominantly fat - it’s not to burn more calories. And I disagree about emphasising “better” instead of “less”. “Better” than doesn’t lose weight.
So you're saying that feeding oneself exclusively with chocolate will has the same result as feeding oneself with vegetables? Sounds counter-intuitive.