Vast reservoirs of material exist between galaxies, a region known as the cosmic web. This diffuse matter isn't empty; it's primarily composed of protium and heavy hydrogen, with trace amounts of more massive elements. https://galaxygasquees597261.keepwritingblog.com/128311/galaxy-gas