Sufficient energy is a prerequisite for high performance; the body takes in this energy via food. Foods introduce nutrients into the body which all fulfil a specific task:
Building cells. Protein is mainly responsible for this.
Regulating various processes within the body. This is done mainly by vitamins and minerals.
Delivering energy and heat. Carbohydrates and fat are needed here.

How dextrose counteracts small drops in performance.