Sodium hydroxide reacts with SO2 in aqueous medium to give:
Sodium hydroxide on reaction with sulphur dioxide forms sodium sulphite and water. The reaction is:
2NaOH+SO2→Na2SO3+H2O.
Hence option D is correct.