Virus
A computer virus is a type of malicious software that attaches itself to legitimate programs or files. It can self-replicate and spread to other computers, much like a biological virus spreads from host to host. When executed, it can cause a range of harm, from annoying system slowdowns to more destructive outcomes like deleting files, corrupting data, or stealing sensitive information.
Self-replication: A virus inserts its own code into other programs. When the host program runs, the virus code is executed first, and it copies itself to infect other files.
Infection and spread: It spreads when an infected file is transferred from one computer to another, for example, through email attachments, file-sharing, or infected USB drives.
Harmful actions: Viruses can perform various malicious acts, such as: Corrupting or deleting data. Slowing down system performance. Gaining unauthorized access to sensitive information (like passwords or credit card numbers). Causing a computer to crash.