Hey all

I'm new to the community but not new to fitness. I actually love working out and have been doing so since high school. But I'm a newbie to calorie counting which I never had to do before now thanks to a slowing metabolism. MyFitnessPal has me on a 1200 calorie diet which makes sense, I have a sit down job, but when I workout it wants me to replace my calories burned. Isn't the calorie deficit what you're shooting for to lose weight? If I have a fantastic high energy workout and burn 600 calories, turning around and putting those back into my body seems to defeat the purpose of said fantastic high energy workout.
Help would be appreciated!