Although burning calories is good, it’s all about getting your heart rate up and sweating as much as you can, the calories burnt from that and a calorie deficit will burn fat, people also forget that when exercising your body starts burning energy faster throughout the day.
Also building muscle will increase how many calories you burn being idle, it’ll tone you up and you burn calories doing weight training. You’ll also find it boosts your stamina and other abilities when doing cardio, when I go to the gym I start with cardio and it’s tough, I push myself doing weights and finish with another round of cardio and I find I’m able to push myself so much more. And in the long run you’ll find cardio much easier, especially with things like biking since you’ll have stronger leg muscles