Two new sulfur heterocycle systems containing a 1,2-dithiole group, have been synthesized and characterized by IR, 1H NMR and single crystal X-ray crystallography. Optimum conditions for these closed-ring reactions have been studied and the possible reaction mechanism has been explored. A simple, fast, inexpensive and clean green synthesis route has been described here. The anti-cancer activity of these compounds was evaluated in terms of cell growth inhibition against human liver cancer cells HepG2.