A computer virus is a program that is able to copy itself when it is run. Often, computer viruses are run as a part of other programs. Any program that is affected by the virus is "infected". Biological viruses also work that way, as they copy themselves as part of other organisms. This is how the computer virus got its name.