Sugar is pure carbohydrate, an important nutrient which supplies energy to the body. Vitamins and minerals are sometimes present, but in trace amounts. Sugar and other nutritive sweeteners play an important role in making other foods taste better and, through their many uses in cooking, increasing the variety of foods available.