Lifting weights builds muscle, and muscle helps to burn fat. When you engage in resistance training, your muscles are challenged, leading to micro-tears that need to be repaired.
As your body repairs these tears, it uses energy (calories) which helps increase your metabolism and promote fat burning.
Having a higher muscle mass also means that your body requires more energy to maintain (8), leading to increased calorie burn throughout the day.