pectin is the biological glue that holds together plant cells, giving fruits and vegetables their shape and structure. when apples are cooked, this pectin breaks down, and the apples turn mushy.