When iron filings and sulphur powder are mixed and heated, they undergo a chemical reaction and form ferrous sulphide (FeS). It is a new substance that has properties entirely different from Fe and S.
The equation for the reaction that produces the iron sulphide is:
Fe + S → FeS
This reaction is called the Combination reaction.