A virus is illegal computer code that attaches itself to other software or files and spreads by copying itself to those programs. It can alter or destroy data and spread its damaging effects by attaching to host programs that are then shared, copying the virus. Users can protect themselves by installing antivirus software, backing up files, avoiding email attachments, preparing boot disks, and blocking Word macro viruses.