Computer viruses are software programs that can copy themselves and spread from one computer to another. There are different types of viruses that can damage systems in various ways like deleting files or corrupting data. Viruses typically enter systems through email attachments or infected websites, but users can prevent infection through antivirus software, firewalls, and practicing safe online habits.