The corresponding reactions are BaCl2+Na2SO3→BaSO3+2NaCl BaSO3+2HCl→BaCl2+SO2+H2O Salt A is Na2SO3 and the dense white precipitate is BaSO3 (Barium sulfite). Gas B is SO2. It decolourises acidified KMnO4 solution because of its reducing nature. The corresponding reaction is: 2KMnO4+5SO2+2H2O→K2SO4+2MnSO4+2H2SO4