I read in my chemistry book that only DNA has the capability of transmitting hereditary traits and RNA can not.Then how the viruses are evolving to resist drugs invented by us? They have only RNA in their system.Though there are DNA viruses e.g. chickenpox virus,small pox virus.But wikipedia says reverse transcribing viruses or retro viruses can evolve and resist drugs just by having only RNA.How is this possible?