Restriction enzymes are a type of endonuclease that cuts DNA internally at specific sites.