system
Given the following post, respond as if you're commenting on Reddit:
human
Where does uranium come from?

I made a post in askreddit trying to get an answer to this question but this seems like a better place, but I am trying to figure out where the naturally occurring elements with the higher atomic numbers like uranium come from. None of the processes I was reading about in wikipedia like proton capture or neutron capture seemed to reach the heavier elements found here on earth so am I misreading something or is there an undiscovered process that leads to their creation?
gpt
Same place all the other heavy elements — everything heavier than iron — come from: supernovas.

Sometime in the distant past, before the Earth existed, there was a star. That star formed out of the primordial hydrogen (mostly) that precipitated out of the Big Bang. It burned for a while, and in the process fused light elements into heavier ones. Then it died, exploding and scattering its fusion products throughout a medium-sized region of space.

Later, another star formed from the stuff the first star left behind. Similarly, it lived and died and exploded, scattering its own fusion products through space.

Then the cloud left behind by those stellar processes, a cloud containing all the naturally occurring elements, collapsed under its own gravitation into little knots. One knot was quite massive and became the sun. Another knot was much tinier and became the Earth.

Some of the atoms that made up the Earth were uranium, forged out of lighter atoms in the supernovae that created the raw materials from which our solar system (and we) formed.