A spoonful of sugar makes the medicine go down, but wait...which sugar?

brown sugar
Credit: Michelle Arnold/EyeEm/Getty Images

All green plants produce sugar, but most sugars you find in the grocery store are products of sugarcane and/or sugar beet plants. Through adjustments in the processing, crystallizing, and drying of the sugar, and varying the level of molasses left in or added back, different sugar varieties are possible. So how do you know which sugar to use in your recipe, what's the difference between brown sugar and raw sugar, and when do you use sanding sugar? Here are 6 varieties of sugar you may encounter in your baking adventures and the best ways to use them.

Granulated Sugar

When a recipe simply calls for "sugar," more than likely you need granulated sugar. Sometimes referred to as table or white sugar, granulated sugar is a highly refined cane or beet sugar (all of the naturally present molasses has been removed). When stored properly, the fine crystals in granulated sugar will not cake together, making it ideal for measuring and baking breads, cookies, pies, and cakes. Caster (or castor) or superfine sugar is more finely granulated and dissolves instantly, and is a good choice for making meringues or sweetening a glass of iced tea.

Confectioners' Sugar

Also called powdered sugar and 10x sugar, this is granulated sugar that has been crushed into a fine powder. A small amount of cornstarch is typically added to prevent clumping. Like superfine sugar, confectioners' sugar dissolves rapidly, making it ideal when makings cake frostings, icings, and candy. It also looks beautiful dusted across baked desserts.

Decorative Sugars

Enhance the look and texture of your cookies and cakes by sprinkling them with decorative sugars, which have granules about four times larger than those of regular granulated sugar. Sanding sugar is clear and sparkly, and its extra-large crystals will not melt in the oven. Solid colored pearl sugar, which looks like large–grain salt crystals, also withstands high heat without melting, and makes a wonderful garnish for sprinkling on cookies, muffins, and scones before baking. Both sanding and pearl sugars can be found in a variety of colors.

Cane Sugar

Unlike the highly refined granulated sugar, which can come from sugarcane and/or sugar beets, cane sugar is produced solely from sugarcane and is minimally processed. It has a slightly larger grain, and a darker color, since the molasses has not been refined out. Use cane sugar the same way you would granulated sugar.

Raw Sugar

Raw sugar is the residue left after sugarcane has been processed to remove the molasses and refine the sugar crystals. In this state, sugar may contain contaminants such as molds and fibers, so the raw sugar marketed in the United States has gone through a purification process. Two popular types of raw sugar are Demerara, from the area of the same name in Guyana, and Turbinado, which simply means "of the turbine," or centrifuge. This dry, free-flowing, pale golden sugar has a mild molasses flavor and makes an excellent sanding sugar for bakery products.

WATCH: How To Make Royal Icing

Brown Sugar

Brown sugar is white granulated sugar that has had cane molasses added to it. The two types of brown sugar, light and dark, refer to the amount of molasses that is present. Light brown sugar is used more often in baking, while dark brown sugar, with a bolder molasses flavor, is delicious used as a rub for steaks. A lot of bakers, however, will use light and dark brown sugar interchangeably. While all sugars should be stored in an airtight container, this is especially true for brown sugars, which will harden if left open to the air. If your brown sugar has turned as hard as a brick, microwave it for a few seconds, or place a piece of bread in the bag and leave it for a day.