Compote is fresh or frozen fruit cooked in a sweet syrup. Jam is fruit cooked in sugar syrup until it reaches jelling or setting point due to added pectin or pectin that is naturally occurring in the fruit.