What are the different types of viruses?

Are you asking about computer viruses ?
For the types of computer virus see the link below
What is a virus?
A computer virus is a small program written to change the way a computer operates, without the permission or knowledge of the user. an epidemic must meet two criteria:
Some viruses are programmed to wreck the pc by damaging programs, deleting files, or reformatting the disk. Others aren't designed to try to any damage, but simply to duplicate themselves and make their presence known by presenting text, video, and audio messages. Even these benign viruses can create problems for the pc user. They typically take up computer hardware utilized by legitimate programs. As a result, they often cause erratic behavior and might end in system crashes. additionally, many viruses are bug-ridden, and these bugs may result in system crashes and data loss.
or
Go through this link if you are asking about the virus in biology: