Why is the sun very hot?

It is not hot because it is fire ball as some people think. In fact it is a mass of gas and plasma where atomic fission is taking place. Here the nuclei of small elements are joining to make larger ones and in the process releasing enormous amounts of energy.