Dear student.
This means that an enzyme has got an optimum temperature to function properly. Enzymes are biologically active compounds which protein complex. If we increase the temperature, rate of the reaction increases but after a particular point, rate of reaction decreases sharply. As we heat above optimum temperature of enzyme, the enzyme gets denatured and stops functioning and rate of the reaction decreases sharply. The same way DNA has got melting temperature (Tm) too. So restriction enzyme digestions are performed by incubating purified DNA molecule with restriction enzyme at optimal condition for that specific DNA.
Regards.