Pectin was discovered by Louis Nicolas Vauquelin in 1790 but it took more than three decades for another French scientist named Henri Braconnot to isolate it. He discovered that it was the main component in fruit that was responsible for the congealing properties that enabled gelling when the fruit was boiled with sugar. Among his discoveries were that sugar was crucial to the gelling, as was the pH. It was also Braconnot who came up with the term pectin from a Greek word for congealing or solidifying.
The discovery and isolation of pectin made the production of jams and jellies more efficient, but the knowledge of how to make them had been around for centuries. Housewives routinely dealt with gluts of fruit by combining those fruits known for their gelling properties with other fruit with other non-gelling fruit to make jams and jellies. For example, crabapples have long been known to cause preserves to gel. Crabapples could be combined with other fruits like strawberries that had little pectin and thus little gelling ability.