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.