Masks have been used to protect people against air-borne diseases. They were worn during the plague in the Middle Ages; during the influenza epidemic of 1918, and the COVID-19 epidemic. Gas masks were issued in World War II even though phosgene gas was never used in that war (it had been in WWI).