Malware is a general term for malicious software including viruses, worms, Trojan horses and spyware. Many people use the terms malware and viruses interchangeably.

Anti-virus software usually detects a wider range of threats than just viruses.