Class B foams are designed for class B fires—flammable liquids. The use of class A foam on a class B fire may yield unexpected results, as class A foams are not designed to contain the explosive vapours produced by flammable liquids. Class B foams have two major subtypes.