they are named "trojan" after the trojan horse of greek mythology. the virus puts software on your PC that allows access and/or remote control of your system by the bad guy.
they then use your system for spamming or DDoS attacks or stealing your passwords/CC info, etc, etc