Parrafin is used as a component in , protecting foods such as jellies and cheeses. It is added to foods as a preservative and to make the food more attractive. Many chocolates and sweets, for example, contain paraffin wax to give the candy a shiny coating. The wax also stops moisture from leaving the coated candy, keeping the candy moist and less likely to spoil in unrefrigerated conditions.