Fruits cooked with sugar and often part of a dessert, but there are also savoury versons, such as compotée d’oignons or compotée de chou rouge aux pommes.
If it’s compote in French, it’s more likely to not have any bits in it: compote de pommes for instance, is smooth apple sauce.
Image by jules