Sexual reproduction in bacteria involves plasmids, which are loops of DNA that can multiply and move between bacterial cells and insert into or take DNA from the nucleus. This allows for genetic recombination between bacteria through three main processes: conjugation, where bacteria connect and transfer genes through a protein tube; transformation, where bacteria take in extracellular DNA from the environment; and transduction, where viruses called bacteriophages exchange DNA between bacteria during infection. These sexual reproduction processes generate genetic diversity unlike binary fission.