Viruses are microscopic infectious agents that can only replicate inside the living cells of an organism. They consist of genetic material, either DNA or RNA, surrounded by a protein coat. Viruses can infect all types of life forms, from animals and plants to microorganisms, including bacteria and archaea.