The mordant forms a bond with both the fabric and the dye - as Lachlan said, it acts like double-sided sticky tape. The buckets contain fabric samples which have soaked for several days in solutions of two different Mordants - alum (potassium aluminium sulphate) and salt (Sodium chloride). A control set of fabric samples soaked in tap water. We prepared some natural dyes from cochineal larvae, onion skins, beetroot, walnut husks and shells, and turmeric. Our fabrics were silk, cotton, linen, wool and acetate. We heated the fabrics in the dye, then rinsed them and compared the results in terms of depth of colour.
http://lavenderpondnotes.tumblr.com/post/107982190086/cochineal-beetle-larvae-in-water-preparing-our