Biofreeze contains menthol, and like other menthol-containing products, it alleviates pain via counter-irritation, specifically cooling the surface of the skin. Voltaren instead treats pain by temporarily blocking the production of pain-signaling chemicals called prostaglandins.