miasmas
Right on. This was also connected to the theory of medicine regarding humours. Bocaccio adverts to this in his general preface in the Decameron where he is describing the Black Death [bubonic plague] in Florence.