Computer viruses are small programs that spread from computer to computer and interfere with operations. They can corrupt or delete files, use email to spread, or erase hard disks. Viruses often spread as attachments but can also be hidden in downloads. Different malware like viruses, Trojans, and worms operate in various ways but must be executed to function. Viruses may play sounds, display images or text, or damage files when activated. It is important to be cautious of suspicious files and use antivirus software to prevent infections.