Calories are a measure of the energy you get from food. If you eat more calories than you use, you will gain weight. If you eat fewer calories than you use, you will lose weight.