The jars hold a solution of Epsom salts. The mineral solution is carried along the string to its lowest point. When the water evaporates, it leaves the minerals behind. Each drip deposits more minerals – growing the stalactite. A stalagmite is forming under the stalactite. Dye has been added to the solution to aid observation of the solution’s movement along the string.