So how do we know they work and what would be the point of buying antivirus software then?

If the human brain were so simple that we could understand it, we would be so simple that we couldn't. - Emerson M. Pugh