They might look similar, but they are different from each other. For example, when making compote, the fruits or berries are cooked whole or in big chunks and are usually flavored with spices. On the other hand, jams use crushed fruits and veggies, making them more spreadable.