There are many types of malwares like Trojans, viruses, worms, rootkits, and many more We will here discuss about viruses and worms Viruses are the programs that gets themselves replicated itself and gets into other files and programs and destroys data or makes the file damaged so that the file becomes corrupt or damaged. Whenever the user tries to open the infected files virus gets spread in other files. Worms are self-activated programs. They spreads over the networks and infect the other computers in the network without user’s knowledge and permission and sends the data of one system to others. Solution There are many types of malwares like Trojans, viruses, worms, rootkits, and many more We will here discuss about viruses and worms Viruses are the programs that gets themselves replicated itself and gets into other files and programs and destroys data or makes the file damaged so that the file becomes corrupt or damaged. Whenever the user tries to open the infected files virus gets spread in other files. Worms are self-activated programs. They spreads over the networks and infect the other computers in the network without user’s knowledge and permission and sends the data of one system to others..