When you split certain heavy elements energy is released, this is called fission.
When you join certain light elements you get energy too this is fusion.
If you think about it you'll see that as we use heavier and heavier elements in fusion reaction we eventually get to a point where we cannot generate energy with fusion - the reaction is essentially endothermic.
You can see this energy in this graph
http://www.impcas.ac.cn/usr/wjx/zhonglz/jiangz uo/prc/binding.gif
at the top is Iron. this just so happens to be the cut off point.
When stars run out of hydrogen they start to use the helium that they have created etc. etc.
But when they get to Iron there's no more energy to be had. All the energy that kept those massive gravitational forces at bay is gone and the star collapses in on itself with such force that you get a supernova and every conceivable element is created.
With the exception of hydrogen, pretty much every element in your house, your computer, even in you was created in such a supernova