In the past ketchup was sold as a medicine, this was at 1830.
Early versions of ketchup were not based on tomatoes, they were made of shallots, oysters, lemons, walnuts and anchovies.
Heinz buys more than 2 million tonnes of tomatoes each year to produce ketchup.
More than 25% of today's ketchup is made from sugar (well, in most companies).