Bad air was believed to be a major cause of sickness in the past, based on Aristotle’s idea of miasma as the cause of disease.
The lazzaretti in Venice were the Venetian republic’s response to the emergency of the plague, and an efficient response too.