Viruses are microscopic infectious agents that can only replicate inside the living cells of an organism. They are composed of genetic material, either DNA or RNA, enclosed in a protein coat known as a capsid. Some viruses also have a lipid envelope derived from the host cell membrane. Unlike bacteria or fungi, viruses are not considered living organisms because they lack the cellular machinery necessary for metabolic processes and reproduction.