Understanding the types of sugar

Sugar! Without it there would be no chocolate, no cakes and no diversion from the afternoon meltdown. Sugar is a wondrous ingredient that can be used in countless ways. But sugar is not without its mysteries.

How do the different types of sugars and syrups work in cooking? Can one be substituted for another? What is the difference between molasses, treacle, …