In computer security, an infection is a kind of malicious code or program that self-replicates by placing its code into other programs. As a result, infected computers can spread out the virus to other computers. Viruses are typically spread out by e-mail accessories, social media links, and online ads. read this The most common kind of trojan horse is theTrojan horse, which tricks users into clicking a harmful link or email accessory.