Who hasn’t heard of them? And if you have experienced what they are, who can forget such a profoundly frustrating experience?
Computer viruses are merely computer programs, designed to self-replicate. They are designed to “infect” other executable programs, by copying the virus code into them. When these infected programs are executed, the virus gets another chance to attack, and will probably try to infect some more uninfected programs, thereby causing some kind of a chain reaction. The virus code remains in memory even after the program terminates, in order to fulfill it’s goal of more infection! As the infected program is copied and used on other uninfected systems, the virus spreads on that system too, infecting many files there.