How are the various styles of masks working?

A surgical mask is a loose-fitting disposable mask that covers the nose and mouth of the wearer from contact with droplets.