Pour the sugar into the machine, which then heats up and spins the sugar while rapidly cooling it, leading to the sugar forming thin threads that are collected on a cone.