Thioacetamide is widely used in classical qualitative inorganic analysis as an in situ source for sulfide ions. Thus, treatment of aqueous solutions of many metal cations to a solution of thioacetamide affords the corresponding metal sulfide: