Here is an easy recipe for you: Heat a cup of water in a saucepan until it boils, add three cups of sugar, and stir with a spoon. Then pour the solution into a glass jar. Dangle a wooden stick into the syrup, and leave it for a few days. When you return, you will find… rock candy.
Rock candy has a unique texture. It is made of large chunks of flavored sugar that you can crunch in your mouth. Other candies come in a variety of textures: chewy (fudge), gritty (cotton candy), or hard (glass candy).
Given that candies are all made with sugar, what causes their textures to be so different?