This link carries you to most of our biochemistry topics in an animated collaborative manner.
David J. McClements, an assistant professor in the Biopolymers and Colloids Research Laboratory at the University of Massachusetts at Amherst, provides this more extensive overview of dessert science:
“The principal component responsible for the transition from a liquid to a semisolid gel on cooling is gelatin. Gelatin is a protein derived from collagen, the major component of the connective tissue of animals. Jell-O and other, similar products consist of powdered gelatin mixed with sweeteners, flavorings and coloring agents.
“In its natural state, collagen exists as fibers that contain three polypeptide chains entwined into a helical structure. Collagen is converted to gelatin by heating it in the presence of water. This procedure breaks down the relatively weak (noncovalent) bonds holding the three polypeptides together, as well as some of the stronger, covalent bonds, and produces a solution in which the polypeptides are arranged into a predominantly amorphous structure.
“When the solution of gelatin cools below a certain temperature, the molecules tend to associate with one another in order to regain some of their original helical structure. In this way, junction zones are formed. The junction zones mark a local return of the original form: three polypeptide chains in a helical formation. If there is enough gelatin present, a gel will form. The gel consists of a three-dimensional network of gelatin molecules linked by these junction zones, which is capable of en-training large amounts of water through capillary forces. This gel has solid-like characteristics, although it is really a viscoelastic material.
“Gelatin is a thermoreversible, cold-setting polymer: if the gel is reheated, it will convert back to a liquid because the forces favoring the amorphous state (mainly configurational entropy) outweigh those favoring the aggregated state (mainly hydrogen bonds). For this reason, gelatin cannot be used in ‘cook and serve’ products such as puddings that are supposed to form gels when heated. These products must incorporate a heat-setting polymer, such as starch.”
Reference: Scientific American.2000.What is Jell-O?How does it turn from a liqiud to a solid when it cools?http://www.scientificamerican.com/article.cfm?id=what-is-jell-o-how-does-i
Image kidnapped from; http://1.bp.blogspot.com/-_5polj3VbC4/TXVnnNwdNfI/AAAAAAAACfE/yxGbOzjoRE0/s1600/mallow-jello.jpg