Step-by-step explanation:
Genetic exchanges among bacteria occur by several mechanisms. In transformation, the recipient bacterium takes up extracellular donor DNA. In transduction, donor DNA packaged in a bacteriophage infects the recipient bacterium. In conjugation, the donor bacterium transfers DNA to the recipient by mating.
Genetic information in bacteria and many viruses is encoded in DNA, but some viruses use RNA. Replication of the genome is essential for inheritance of genetically determined traits. Gene expression usually involves transcription of DNA into messenger RNA and translation of mRNA into protein.