Viruses are types of malware that can replicate and spread to other computers, potentially causing damage. There are several common types of viruses, including boot sector viruses which infect storage device boot sectors, file infecting viruses which spread through executable files, and macro viruses which are embedded in documents using macros and execute when opened. Polymorphic viruses are especially dangerous as they can change their code to avoid detection by antivirus software.