How do computer viruses work?

Many people transmit malicious viruses, mostly through e-mails. The virus is a small hidden program that deletes the data or destroys parts of the operating system, which controls the computer. The viruses then automatically go to other computers through e-mail addresses stored in our computer. Some protection is offered by the antivirus programs. The safest way to stop viruses entering your computer is not to open attachments from unknown senders, especially the ones with an unusual ‘subject’.