A related fun fact is that you generally lose weight by exhaling, generally while you sleep. Sweating, defecating, etc. is all temporary. If you're trying to lose weight, make sure you're sleeping enough!
edit: see my followup comment, didn't mean to mislead here. I'm not a scientist and sleep and food science is both pretty hard to trust.