Answer: Viruses do have DNA or RNA, and DNA is the code for life. Like living things, viruses evolve through time and thus can adapt to their environment. But unlike cells, viruses cannot use their genetic material by themselves. They need a living cell in order to function and reproduce; otherwise they are playing dead.