Generalized transduction occurs when fragments of bacterial DNA are mistakenly packaged into bacteriophage particles during viral assembly. This allows bacterial DNA to be transferred between bacteria when the phage infects a new host. Specialized transduction involves the transfer of specific portions of bacterial DNA by temperate bacteriophages during lysogeny. Bacterial transformation involves the uptake and incorporation of naked DNA fragments from the environment.