Sulfide compounds can be prepared in several different ways:
#Direct combination of elements:
#:Example: Fe + S → FeS
#Reduction of a sulfate:
#:Example: MgSO + 4C → MgS + 4CO
#Precipitation of an insoluble sulfide:
#:Example: M + HS → MS + 2H