The understanding of the interstellar and intergalactic medium has evolved significantly over the centuries.