Restriction enzymes
such as
BamH1
(from
Bacillus amyloliquefaciens
H) bind to and cut
DNA
at specific sites (
recognition sequences
) as a defense mechanism against infection by viruses.