Why does changing the pH affect the enzyme activity?

someone answer me plz....