Dry ice turns into CO2 gas. (isn't that called sublimation?) So same basics.