Jam usually has a thickening agent added and has more sugar to help preserve it and make it last longer. A compote only uses the natural pectin of the fruit and usually contains whole fruit pieces, has less sugar, and can't be stored for long periods of time.