A restriction enzyme is an enzyme that cuts DNA at particular places. It works at or near specific recognition nucleotide sequences known as "restriction sites". To cut DNA, all restriction enzymes make two incisions, once through each strand of the DNA double helix.
These enzymes are found in bacteria and archaea and defend them against invading viruses, which are bacteriophages.