Restriction enzymes are used in Southern blotting to cleave DNA at specific recognition sites. By digesting the DNA sample with appropriate restriction enzymes, it is possible to generate fragments of different sizes, allowing the identification and analysis of specific DNA sequences.