Fire-resistant foam insulation contains fire retardant, and some are specifically formulated for fire resistant use. If you need a fire-resistant foam for insulation, be sure to choose one specifically marketed as such. These products possess a higher degree of fire resistance than standard foam insulation.
Eco wise uses foam sealant and insulating products that contain fire retardants. These foams are intended to resist flaming, and slow flame spread. However, they cannot stop a fire from spreading indefinitely.