An ore on treatment with dilute HCl gives a smell like that of rotten eggs. What type of ore is it? Give equations and explain the operation required to obtain metal from its ore.