A thermosetting polymer has cross links between the hydrocarbon chains which makes the polymer more heat resistant. Thermosetting polymers cannot be remoulded.
The crosslinks stop the chains from sliding pass each other, so the plastic maintains its shape.