A computer infection is a piece of code that is developed to interrupt the normal functioning of a computer system. Viruses can spread quickly and trigger significant damage to both private computers and networks. Some infections are harmless, while others can erase files, corrupt information, or perhaps damage hardware.