Masks can prevent the spread of coronavirus, even if they don't protect the wearer from contracting it.