A trojan horse is a piece of code that is created to interrupt the normal performance of a computer. Infections can spread rapidly and cause significant damage to both private computer systems and networks. Some viruses are safe, while others can delete files, corrupt information, or perhaps damage hardware.