Gas porosity is the formation of bubbles within the casting after it has cooled. This occurs because most liquid materials can hold a large amount of dissolved gas, but the solid form of the same material cannot, so the gas forms bubbles within the material as it cools