list the 6 main functions of sugar in food preparation and give a brief description of how it is used in this capacity