What Is The Primary Function Of Antivirus Software?

What Is The Primary Function Of Antivirus Software?