The answer is sulfides. 
That is sulfides is the class of mineral that forms when the element S is bonded with a metal, as iron in the mineral pyrite. 
when the element S is bonded with a metal, it forms sulfides which is the class of mineral. 
So the answer is that sulfides is the class of mineral that forms when the element S is bonded with a metal, as iron in the mineral pyrite.