Answer
See explanation
Work Step by Step
Magnesium filings and powdered sulfur placed together in a metal beaker is a mixture because it does not have a uniform composition but after is reacts and forms magnesium sulfide it will become pure substance because it is now a pure compound and has a uniform composition.