Uses of cucurbituril derivatives are disclosed. The cucurbituril
derivatives have the formula (1) ##STR00001## where X is O, S or NH;
R.sub.1 and R.sub.2 are independently selected from the group consisting
of hydrogen, alkyl groups of 1 to 30 carbon atoms, alkenyl groups of 1 to
30 carbon atoms, alkynyl groups of 1 to 30 carbon atoms, alkylthio groups
of 1 to 30 carbon atoms, alkylcarboxyl groups of 1 to 30 carbon atoms,
hydroxyalkyl groups of 1 to 30 carbon atoms, alkylsilyl groups of 1 to 30
carbon atoms, alkoxy groups of 1 to 30 carbon atoms, haloalkyl groups of
1 to 30 carbon atoms, nitro group, alkylamine groups of 1 to 30 carbon
atoms, amine group, aminoalkyl groups of 1 to 30 carbon atoms,
unsubstituted cycloalkyl groups of 5 to 30 carbon atoms, cycloalkyl
groups of 4 to 30 carbon atoms with hetero atoms, unsubstituted aryl
groups of 6 to 30 carbon atoms, and aryl groups of 6 to 30 carbon atoms
with hetero atoms; and n is an integer from 4 to 20 , wherein the
cucurbituril derivatives having the formula (1), where n=6 , R.sub.1=H,
R.sub.2=H and X=O, and n=5 , R.sub.1=CH.sub.3, R.sub.2=H and X=O, are
excluded. The cucurbituril derivatives are easily prepared as a mixture
by one of the three new methods, and each cucurbituril derivative can be
separated from the mixture by fractional crystallization. The
cucurbituril derivatives having the formula (1) or their mixtures are
very useful in removing dyes and heavy metal ions dissolved in water or
waste water.