Gangue are the earthly impurities that are accompanied with the minerals during their extraction.
A deposit of insoluble residue or mixture that collects at the anode in an electrolytic refining and formed from the dissolution of the anode in commercial electrolysis or plating process. The soluble impurities go into the solution. Also, it is sometimes called anode slime.