Correct option is (d) sulfur and gangue minerals
To explain I would say: Smelting is done to eradicate unwanted materials like sulfur and gangue minerals to the fullest extent possible. The output of the smelting phase is called copper matte. It is a combination of sulfur, copper and iron.