Computer viruses are programs that spread from one computer to another without permission. They can corrupt or delete files, use email to spread, or erase entire hard disks. Viruses are often spread through email attachments, downloads, or infected files on networks. While some only replicate, others can damage computers. It is important to have antivirus software and be cautious of suspicious files from untrusted sources. Different types of malware include viruses, worms, trojans, and bacteria, each with their own methods of spreading and behaviors.