there's loads of different ways to lose fat/gain muscle because EVERYONE is different.
but the universal, common factor is eating less sweating more, regardless of what you eat and how you sweat. What you eat and how you sweat is up to you. That's why the articles, blogs, gyms, routines, styles, recipes, products etc are endless. Cos there's no one way as long as you stop stuffing your face and climb off your arse. You'll see that there's far more average weight people than over weight in the world because of this. It's not hard.