Gold — that soft, glimmering, reliably precious metal you should maybe consider investing in — is a fascinating element. Paired with its valuable ability to conduct electricity, it is equally comfortable hanging out in your computer keyboard as it is dangling from the neck of Jay-Z.

The question, though, of how gold came into being, chemically speaking, has long baffled scientists. Whereas lighter elements like carbon and oxygen emerged from the fusion reactions at the hearts of stars, heavy metals like platinum and gold require something with a lot more firepower.

A decade ago, a team of European scientists posited that heavy metals could be formed when two neutron stars collide into one another — an incredibly rare event that happens in the Milky Way only once every 100,000 years. (Neutron stars, as we know, are the collapsed cores of stars that have run out of steam.) Although the team's research proved that this was theoretically possible, the phenomenon has never actually been observed.

Until now. In a new study published in Astrophysical Journal Letters, a team of astronomers led by researcher Edo Berger of the Harvard-Smithsonian Center for Astrophysics detected a gamma-ray burst that the scientists think resulted from the crash of two distant neutron stars.

The crash, of course, was very far away — 3.9 billion light-years, in fact. Using NASA's Swift telescope, researchers noticed that the collision produced "an odd glow that lasted for days," according to the Associated Press. Upon closer inspection, the light suggested that heavy elements, including but not limited to gold, could have been produced by the incredibly rare, cosmic crash of the two dead stars.

It's beginning to look a lot like neutron stars are "a major cauldron in which elements like gold are forged," says Stockholm University astrophysicist Stephan Rosswog, who worked on the original supercomputing project. Or to put it another way: As Berger notes, anyone wearing a hint of gold on their person is walking around "with a little tiny piece of the universe."