Restriction enzymes are enzymes that break apart DNA into fragments or genes. They were originally created by bacteria as a defense mechanism to break down foreign DNA. There are three main types of restriction enzymes that recognize and cut DNA sequences in different ways. Restriction enzymes are commonly used to cut DNA into fragments for easier study and identification of genes, as well as recombining DNA molecules from different genomes to study gene expression and regulation.