Sugar Cooking . Sugar is a very unusual and fun food. As sugar heats, the sugar crystals change their shape and characteristics. Cooked sugar as a mixture with milk or water is very soft. It is cooked to about 230 degrees. That temperature best forms the soft fudge we all enjoy. As the sugar temperature climbs to the 240's, we get marshmallow.