the main difference between viruses and Trojan is that the virus is one malicious software that can copy itself and damage the system destroying data,…