Tomato ketchup is prepared with tomatoes sugar, vinegar/ acetic and spices. Ketchup is a source of lycopene, an antioxidant, which helps prevent some forms of cancer. Tomato ketchup has an additive usually xantham gum which gives the condiment a "shear thinning" property. This increases the viscosity of the ketchup considerably.
The term 'jam' refers to a product made of whole fruit cut into pieces or crushed then heated with water and sugar to activate its pectin before being put into containers: jams are usually made from pulp and juice of one fruit or a combination of several fruits.
Jam is an interesting condiment because it's neither a solid nor a liquid. It can contain chunks of fruit which are solids, but if let out of the fridge the juicy bit becomes a liquid. Also jam moves to fit a container, which is one of the properties of a liquid.
Squash (also called cordial) is non-alcoholic concentrated syrup thatis usually fruit flavoured and is made from fruit juice, water and sugar or a sugar substitute. Squashes may also contain food colouring and additional flavouring. Citrus fruits or a blend of fruits and berries are commonly used as its base. Squash is prepared by combining one part concentrate with four or five parts water.