Yes an N95 mask provides more protection than a surgical mask. That's completely different from whether either mask protects the wearer. Both masks absolutely protect the wearer from infection. I'm sure you understand that, but the way you are wording things makes this unclear.