When a massive star explodes as a supernova, it does more than release an extraordinary amount of energy. Supernovae explosions are responsible for creating some of the heavy elements, including iron, which is blasted out into space by the explosion.
Source:
phys.org