
In the 1940s–1950s, scientists George Gamow, Ralph Alpher and others proposed that the elements originated in the hot early universe. But it later turned out that most elements were created in stars. In 1957, the famous B²FH paper was published, which described in detail the processes of stellar nucleosynthesis.
In the center of a star, temperatures of millions of degrees cause nuclei to collide and fuse, releasing energy, like compressed springs releasing their stored force when joined together. The star successively burns hydrogen, then helium, carbon and so on, until iron is formed. Iron is 'nuclear ash', further fusion yields no energy. Then the core collapses, and the star explodes, creating elements heavier than iron.