A computer virus is a type of malicious software, or malware, that spreads between computers and causes damage to data and software.