Melamine is an organic base and a trimmer of cyanamide, with a1 3 5 triazine skeleton. Like cyanamide, it contains 67% nitrogenby mass and, if mixed with resins, hasfire retardant properties due to its release of nitrogen gas when burned or charred, and has several other industrial uses.