You have amino acids, fats, and sugars, when all is said and done.
The question is unanswerable in any qualified fashion, however, it's all about insulin management, with regard to how fat gets stored. Bodybuilders manipulate this stuff all the time. It's all science.
In a nutshell, there are times when you want fast sugars (high glycemic index)...let's say post workout when you need and want, and it works best to upload glycogen. However.... there are times you don't want high insulin and fast sugar...say..after a fattie meal. Eating fried chicken, then...eating chocolate cake, is a sure-fire recipe to become a fat pig.
In time of low carbs, your body will catabolize muscle (protein and water) to convert it to glucose (blood sugar) to keep your brain working. That's why fat folks train their bodies to become fat storing machines. The saying goes...you have to fuel the furnace (metabolic activation) to burn fat effectively, and it's true. Endless hours of cardio, and starvation...will cause your body to become a fat-storing machine like no other (the famine response, it's called).
In general, a high fiber, moderate carbohydrate, moderate protein diet is good for most folks, but, may not be for some folks. To really understand all of it requires knowing your own body, and activities, and age, hormone levels, and a large number of variables. There is no SIMPLE answer (like my most things). Low glycemic index carbs, promote stable blood sugar levels, and better insulin management, which mean you have less of a tendency to put on fat, unless you're starving, in which case it goes the other way.
It's generally believed that you need around 75 grams of carbs per day for your brain function to work properly. I know folks who will go to a zero carb diet, but, I think that's nuts..they usually don't think straight.
If I'm eating to gain, I may pull on upwards of 800 grams of carbs a day, or more. Carbs drive insulin, and carbs are your preferred energy source for atp synthesis. Insulin is the most anabolic hormone there is and, properly harnessed, is what makes the "beasts" of the biggest of the big. Contest diet, I'll pull my carbs down to as low as 80 per day, BUT, bring my calories up in proteins, and good fat (poly and mono). I get real lean by UPPING my activity level and UPPING my calories. Starvation is a recipe for failure.
One more thing. Lipids, carbs, and alochol are ALL carbon chains, with varying degrees of density / bonds. Fats are very tightly bound carbon chains with alcohol and carbs being less so.
In a nutshell everything breaks down to amino acids and carbon chains at the most basic level. I'm NOT a chemist, nor do I have a degree in nutrition...I've just done it for 32 years.
Most active folks need a few hundred grams of carbs a day, unless they are eating a lot of fat, and their body is ketonic / ketosis and will convert that fat into glucose.
Lot of fat folks have their diet upside down, instead of right side up: breakfast like a king, dinner like prince; supper like a pauper.
When I contest diet, I'll keep myself just slightly above ketosis (I use Ketostix, available everywhere), where I can opitmally burn fat into energy, but not be highly catabolic.