what is the main purpose of gelling agents? It is used for a number of purposes including food products. Gelling agents are used as food additives. It is used in a number of edible products including sweet tasting products and spicy products as well. The excess use of gelling agents can create stones in the kidney and digestive problems. The main purpose of these agents is that it thickens food products. If a person has a weak digestive system, he cannot use these additives.