When you exercise, sweating is just a sign of calorie burning. But it doesn't mean that you will lose weight if you sweat.
If you are eager to lose weight, control your diet and exercise more. This is open source and throttling. Exercise-burning calories, controlling diet-reducing calorie intake.
Come on, good luck.