Computer viruses are malicious programs that spread through file sharing, email attachments, infected downloads, or network connections. A scanner is an input device for digitizing physical documents - it cannot contract or spread viruses as it does not execute or transfer program files.