Enzymes are organic catalysts that speeds up the rate of a chemical reaction. Their activities are affected by temperature and pH of the environment among other factors.
At extreme temperatures, enzymes can easily be denatured and they will cease to act.
At extremes of pH, they can also be adversely affect.
Enzymes generally have temperature and pH window for their activity.