Mucilage

From eagle-rock.org
A sundew with a leaf bent around a fly trapped by mucilage.

Mucilage is a sweet, gel-like substance produced by most plants and some microorganisms. It has the tendency to draw water to it - so that when water is added it swells to form a viscous fluid.