What celestial events are primarily responsible for forging elements heavier than iron, such as gold and uranium?

Answer

Core-collapse supernovae and neutron star mergers

Elements heavier than iron require conditions of extreme energy and vast neutron bombardment, which are provided by core-collapse supernovae and neutron star mergers.

What celestial events are primarily responsible for forging elements heavier than iron, such as gold and uranium?
astronomystarsElementsFusionnucleosynthesis