Melamine is a hard resin used as an overlay for building materials such as MDF or plywood. Melamine is an organic compound when combined with formaldehyde forms a durable thermosetting plastic.