Carbohydrates, also known as carbohydrates.
Briefly and simply, the main function of carbohydrates is to provide energy, not all carbohydrates are the same, but we will divide them into only two groups, the simple and the complex.
Simple ones such as dextrose, table sugar, etc., are fast-absorbing sugars, i.e. they quickly enter the body causing a peak energy, but short-lived, while the complexes promote a longer and sustained energy release, satiating for longer and keeping energy stable during the day.
Both have the same caloric value of 4Kcal/gram, both can be used in a healthy diet, but should always be privileged the complexes mainly by their sustained release of energy, no one wants to get in the middle of training exhausted, no one wants to be hungry after 1 hour after eating.
Simple carbohydrates : Table sugar, Dextrose, Fruit, honey, white bread, etc.
Complex carbohydrates : Oats, Brown Rice, Beans, Wholemeal Bread, etc.
Usually simple hydrates are sweet, sweeter than complex ones (There are exceptions, sweet potatoes for example), and are the most consumed nowadays.
A good time to consume them is after an intense workout in order to recover quickly, outside this time, always try to opt for complex carbohydrates.