Viruses can have DNA or RNA genomes, with DNA viruses having double-stranded DNA and RNA viruses having single-stranded RNA. Some RNA viruses like retroviruses use reverse transcriptase to transcribe their RNA genome into DNA, which then acts as a template to produce more viral genomes. Other RNA viruses like hepadnaviruses have reverse transcriptase and use RNA as a template to produce DNA genomes.