Corn syrup is a necessary ingredient in caramels because it keeps the sugar molecules from crystallizing after they break down. This creates a soft, smooth texture, rather than a grainy texture.