The correct option is B Carbon dioxide
Carbon dioxide is an acidic oxide as it produces carbonic acid when passed through water and hence, turns blue litmus red.
CO2(g) + H2O(l) → H2CO3(aq)Carbon Water Carbonicdioxide acid
Also, CO2 when passed through limewater (Ca(OH2), changes the colour of limewater to milky-white. This is due to the formation of calcium carbonate (CaCO3) as shown below.
Ca(OH)2(aq) + CO2(g) → CaCO3(s) + H2O(aq)Calcium Carbon Calcium Waterhydroxide dioxide carbonate
Although nitrous dioxide (NO2) and sulphur dioxide (SO2) are acidic oxides as, in water, they produce nitric acid HNO3 and sulphuric acid H2SO4 respectively, they do not turn limewater milky.
Magnesium oxide is a basic oxide and does not turn limewater milky.