You can lose weight and build lean muscle by doing strength training in addition to your cardio. Lean body mass can increase your resting metabolic rate, meaning that you burn more calories at rest.
For weight loss, a combination of cardio and strength training exercises is ideal. Cardio helps burn calories, while strength training builds muscle, which supports a higher resting metabolic rate.