Melamine is an organic compound with the formula C3H6N6. This white solid is a trimer of cyanamide, with a 1,3,5-triazine skeleton. Like cyanamide, it contains 67% nitrogen by mass, and its derivatives have fire retardant properties due to its release of nitrogen gas when burned or charred. Melamine can be combined with formaldehyde and other agents to produce melamine resins. Such resins are characteristically durable thermosetting plastic used in high pressure decorative laminates such as Formica, melamine dinnerware, laminate flooring, and dry erase boards. Melamine foam is used as insulation, soundproofing material and in polymeric cleaning products, such as Magic Eraser.