It's because carbohydrates aka sugars should be the main source of daily energy dose (around 55%). You want to eat flour products because they contain starch which is being assimilated much slower than glucose and fructose. And they have plenty of nutritions, especially wholemeal products, which are reccomended.