It is vacuum but still, a small amount of gases is found. Through gravitational pull, planets and other astronomical bodies, suck out most of the gas and particles in outer space. … If u consider nebulae, they are basically interstellar dust and hydrogen gas.