Viruses are small infectious agents that can replicate only inside the living cells of an organism. Viruses infect all forms of life, including animals, plants, fungi, bacteria and archaea. They are found in almost every ecosystem on Earth and are the most abundant type of biological entity, with millions of different types, although only about 6,000 viruses have been described in detail. Some viruses cause disease in humans, and others are responsible for economically important diseases of livestock and crops.
Virus particles (known as virions) consist of genetic material, which can be either DNA or RNA, wrapped in a protein coat called the capsid; some viruses also have an outer lipid envelope. The capsid can take simple helical or icosahedral forms, or more complex structures. The average virus is about 1/100 the size of the average bacterium, and most are too small to be seen directly with an optical microscope.
The origins of viruses are unclear: some may have evolved from plasmids, others from bacteria. Viruses are sometimes considered to be a life form, because they carry genetic material, reproduce and evolve through natural selection. However they lack key characteristics (such as cell structure) that are generally considered necessary to count as life. Because they possess some but not all such qualities, viruses have been described as "organisms at the edge of life".