She was 'sweating it out' on the treadmill. [=she was exercising and sweating on the treadmill]
After they took the test, they were 'sweating over' [=worrying about] their scores.
It was a close game, and the fans were really 'sweating it out' at the end.