Both!! they need to be a healthy balance in order to lose weight
Explanation:
your weight is a balance between the calories you take in and the calories you burn you will lose weight if you eat a low-calorie in which you burn off more calories than you take in and you will gain weight of you eat more calories than you burn off