Much of the universe's water is produced as a byproduct of star formation.

On 22 July 2011, a report described the discovery of a gigantic cloud of water vapor containing "140 trillion times more water than all of Earth's oceans combined" around a quasar located 12 billion light years from Earth.
According to the researchers, the "discovery shows that water has been prevalent in the universe for nearly its entire existence".

Water has been detected in interstellar clouds in our galaxy, the Milky Way.
Water probably exists in abundance in other galaxies, too.
Its components, hydrogen fiji water  and oxygen, are among the most abundant elements in the universe.
Most other planetary systems are likely to have similar ingredients.
Much of the universe's water is produced as a byproduct of star formation.
On 22 July 2011, a report described the discovery of a gigantic cloud of water vapor containing "140 trillion times more water than all of Earth's oceans combined" around a quasar located 12 billion light years from Earth. According to the researchers, the "discovery shows that water has been prevalent in the universe for nearly its entire existence".
Water has been detected in interstellar clouds in our galaxy, the Milky Way. Water probably exists in abundance in other galaxies, too. Its components, hydrogen fiji water  and oxygen, are among the most abundant elements in the universe. Most other planetary systems are likely to have similar ingredients.
Water