A computer system virus is a piece of code that is developed to interfere with the typical performance of a computer system. Infections can spread quickly and trigger significant damage to both specific computers and networks. Some viruses are harmless, while others can delete files, corrupt information, and even damage hardware.