One theory is that one of the ways heavy elements – such as gold, platinum, lead and uranium – might be produced during the extreme conditions that are created during supernovas. These are spread across the galaxy and are used in the formation of planets, which is how, the theory goes, the metals found on Earth arose.