To lose weight you need to have a calorie/kilojoule deficit. So you need to burn more than you consume. To do that you can either have less calories/kilojoules from food, burn more through exercise or a combination of both.

As an example I have a food calorie deficit of approx 30%, so I consume 30% less calories than my body needs. I then get a further deficit with the exercise that I do.