Sweating causes weight loss because sweat is water, and water weighs 8 pounds a gallon.
However, if after sweating, a person doesn't drink water to replenish himself, his body will be somewhat dehydrated. If a person sweats a great deal, and doesn't drink much at all, he can get heat stroke
and die of hyperthermia
, so one should always drink water to replenish oneself.