A computer virus is a type of malware that attaches itself to legitimate programs and can replicate itself, spreading to other files and systems.

Examples of viruses