A resistance gene contains the information for the production of a protein that makes an antibiotic ineffective and hence confers resistance against an antibiotic to a pathogen.
Retroviruses possess a genome made of ribonucleic acid (RNA), which they transcribe into DNA using an own enzyme. DNA is then integrated into the host cell’s genome.