Carbon dioxide gas that comes off of dry ice is so cold that when it mixes with air it cools the water vapour in the air to fog, which looks like a thick white smoke. It is often used in the theater to create the appearance of fog or smoke.