According to legend, a 17th-century German choirmaster bent sugar sticks into shepherd’s crooks and gave them to children acting in his Nativity pageant as a treat for good behavior. Lo and behold, the world’s first candy canes were born.

Over the years, manufacturers have perfected their own methods of making the holiday treat. In the below video from Lofty Pursuits, a Tallahassee, Florida-based purveyor of hard candies, you can watch how the expert team of candy-makers turn seemingly everyday ingredients like sugar, water, and corn syrup into a sticky mixture. Gradually, the pliable concoction is folded, stretched, rolled, cut, and bent into candy canes—a mesmerizing visual process for anyone who’s ever sucked on one of the sugary confections and suspected it came from somewhere other than Santa’s workshop.