For example, strength exercise is the process of gaining muscle and losing fat (doing pull-ups, push-ups and so on).
If you are running, you can burn fat effectively between 40 minutes and an hour.
It takes more than an hour to lose muscle.