Tiny gas bubbles are called porosities, but larger gas bubbles are called blowholes[14] or blisters. Such defects can be caused by air entrained in the melt, steam or smoke from the casting sand, or other gasses from the melt or mold. (Vacuum holes caused by metal shrinkage (see above) may also be loosely referred to as 'blowholes'). Proper foundry practices, including melt preparation and mold design, can reduce the occurrence of these defects. Because they are often surrounded by a skin of sound metal, blowholes may be difficult to detect, requiring harmonic, ultrasonic, magnetic, or X-ray (i.e., industrial CT scanning) analysis. https://en.m.wikipedia.org/wiki/Casting_defect