Genetic recombination allows for the exchange of genes between DNA molecules, contributing to genetic diversity in populations. In bacteria, recombination occurs horizontally between cells through three main mechanisms: transformation, conjugation, and transduction. Transformation involves the uptake of naked DNA from the environment. Conjugation requires direct cell-to-cell contact and plasmid transfer. Transduction uses bacteriophages to move bacterial DNA between cells. These mechanisms spread beneficial combinations of genes and increase adaptation.