Well from my understanding, if you have an active lifestyle, then your body needs carbs to replenish glycogen stores. And proteins to repair and grow muscles. Fats aren't needed for anything in particular, except in small amounts.
But 2040 kCal is so much that the body will turn the energy into fat even if it didn't start out as fat.