The effect of the presence of impurities such as carbon and sulphur on iron is…