Surgical masks are a type of personal protective equipment (PPE) designed to protect both healthcare workers and patients by trapping bacteria shed in liquid droplets and aerosols from the wearer's mouth and nose. They are primarily used in healthcare settings to prevent the spread of infectious diseases.