A computer worm is a type of virus that can reproduce itself and spread from one computer to the next over a network.
A computer virus is a program that can reproduce itself. It usually can cause great harm to files or other programs on the same computer and spread from one computer to the next over a network.