Describe a virus. A virus is a self-replicating software that typically spreads to other computers through email or the Internet.…