What are restriction enzymes? Why does the presence of a

What are restriction enzymes? Why does the presence of a restriction enzyme in a cell not cause the degradation of that cell’s DNA?