Virus:A virus is a type of malware that attaches itself to a program or file and requires user interaction to spread.
Trojan Horse: A Trojan horse is a type of malware disguised as legitimate software, tricking users into installing it and giving unauthorized access to their systems.
Botnet: A botnet is a network of infected computers controlled by an attacker, often used for malicious activities such as launching DDoS attacks.