PARIS - The next time you're gazing out of the window in search of inspiration, keep in mind the material you're looking through was forged inside the heart of an exploding ancient star.

An international team of scientists said Friday they had detected silica -- the main component of glass -- in the remnants of two distant supernovae billions of light years from Earth.

Researchers used NASA's Spitzer Space Telescope to analyse the light emitted by the collapsing mega-cluster and obtain silica's "fingerprint" based on the specific wavelength of light the material is known to emit.

A supernova occurs when a large star burns through its own fuel, causing a catastrophic collapse ending in an explosion of galactic proportions. It is in these celestial maelstroms that individual atoms fuse together to form many common elements, including sulphur and calcium.

Silica makes up around 60 percent of the Earth's crust and one particular form, quartz, is a major ingredient of sand.

As well as glass windows and fibreglass, silica is also an important part of the recipe for industrial concrete.

"We've shown for the first time that the silica produced by the supernovae was significant enough to contribute to the dust throughout the Universe, including the dust that ultimately came together to form our home planet," said Haley Gomez, from Cardiff University's School of Physics and Astronomy.

"Every time we gaze through a window, walk down the pavement or set foot on a sandy beach, we are interacting with material made by exploding stars that burned millions of years ago."

In 2016, scientists reported they had found traces of lithium -- a metal used in the manufacture of many modern-day electronics -- at the heart of exploding nova, a phenomenon that occurs when a white dwarf star absorbs hydrogen from a nearby sun.

The study was published in the Monthly Notices of the Royal Astronomical Society.