When you lose weight, where does it go? The answer may surprise you
medium.com
medium.com
In either case, the mechanism is the same, you convert organic carbon compounds to CO2 and water and excreting those through breathing and urination is how the weight goes from your body back to the environment.