Enzymes are usually fine if they get hot, but if an enzyme exceeds its maximum tempature, the molecules within its primary structure vibrate so much that the shape of the active site changes and it becomes destroyed, or denatured to be more technical.
hope this helps!