A self-replicating computer program that spreads by inserting copies of itself into other executable code or documents. While viruses can be intentionally destructive (for example, by destroying data), other viruses may be fairly benign or merely irritating.