Pentaerythritol is used in the production of flame retardant compounds, particularly PETN and intumescent coatings. It acts as a carbon source in intumescent systems that expand to form a protective char layer when exposed to fire, protecting structural materials.