A virus is a computer program that replicates by attaching itself to another object. For example, a virus could be hidden in a Word document. When you give that Word document to a friend (via disk or via e-mail) you have spread that virus. If your friend opens that Word document on her computer it can then infect other documents, orif it is a malicious virus might even delete some important files.