In recombinant DNA technology, the function of restriction enzymes is to:
Restriction enzymes cut DNA at specific sequences, generating sticky or blunt ends for recombination.
Ref: NCERT Class 12 Biology Chapter 9: Biotechnology: Principles and Processes Tools - Restriction Enzymes - Molecular Scissors