A trojan horse is a piece of code that is developed to interrupt the regular performance of a computer system. Infections can spread out rapidly and trigger considerable damage to both private computer systems and networks. Some viruses are safe, while others can delete files, corrupt information, or perhaps damage hardware.