The miasma hypothesis was an early theory that attributed diseases, such as cholera and the plague, to 'bad air' or miasmas emanating from decomposing organic matter. It was a widely accepted explanation for the spread of infectious diseases before the germ theory of disease.