Computer Worm is a kind of malicious program, which replicates itself and spreads to other computers by network transmission medias. Then they starts to damage the systems by slowing down the computer operations such that it affects the systems performance.
Unlike the worms, Computer Virus is a malicious program, which replicates by attaching it to a link and spreads to other computers. If any person clicks on the malicious links, The malicious links lead to widespread of virus and attacks on the Systems Registry, Operating Systems, Master Boot Record of the Hard Disk Drive and it’s more destructive than that of worm.
References:
https://www.cisco.com/c/en/us/about/security-center/virus-differences.html
