What differentiates a virus from a worm?

A. A virus infects applications, while a worm logs the keys and passwords typed by a user.

B.A virus makes multiple copies of itself and infects a system, while a worm does not replicate itself.

C.A virus infects applications, while a worm affects emails.

D.A virus infects the system and does not affect applications, while a worm infects both.

E.A virus infects an existing application on a system, while a worm uses the computer network to replicate itself.