Where are elements heavier than iron, such as gold and uranium, primarily generated?

Answer

Supernova explosions or neutron star mergers

Elements heavier than iron are generated in the incredible energy release of supernova explosions or, according to consensus, primarily through the collision of neutron stars.

Where are elements heavier than iron, such as gold and uranium, primarily generated?
astronomynebulaElementsFusion