Surgical masks are used to help prevent the spread of respiratory droplets that may contain viruses, bacteria, or other germs. They are commonly worn in healthcare settings to protect patients and healthcare workers from infections, and can also be used by the general public during outbreaks of contagious diseases to reduce the risk of transmission.