Homologous recombination is a type of Genetic recombination in which nucleotide sequences are exchanged between two similar or identical molecules of DNA.
https://www.wikiwand.com/en/Homologous_recombination
It occurs, for instance, by Chromosomal crossover during Meiosis