Right option is (b) Prevents formation of harmful substance
To explain I would say: Since the presence of free alkali is harmful, sodium sulfide is not used without the addition of magnesium salts, which remove the sodium hydroxide as it is formed by precipitation of magnesium hydroxide.