Sugar is used in some foods to make them sweet, in others in small quantities to enhance the flavour but not enough to make them sweet. In some foods, however, sugar is an essential part of the structure and recipe; for example in cakes or biscuits (cookies).