Until the 19th century, it was widely believed that light(and other EM waves) passed through a medium known as the aether medium. It was assumed to be transparent, weightless, undetectable, but permeating all space.