Logos Stick said:
Surgical masks catch the wearer's saliva, respiratory droplets, and bacteria from the mouth and nose so those don't land in an open wound or contaminate sterile instruments.
They also give some protection against blood or body-fluid splashes hitting the surgeon's face. Bacteria and larger droplets are blocked reasonably well by the mask material; this has been standard practice for over a century based on germ theory and operating-room hygiene.
They are not used to prevent repository virus transmission, including those transmitted by aerosols.
This is why EMTs and nurses routinely place N-95 masks on patients who are suspected of having TB (bacterium). Masks and face shields are for caregivers when treating patients with TB or facial injuries or sometimes when patients have unleashed body fluids (i.e. projectile vomiting or diarrhea).