Jam?was?made?by cooking down?sugar and fruit.?Pectin in the fruit would mix with the sugar, causing a gel to form.