How+is+the+energy+source+light+and+heat+produced+from+it?

When the star goes to a temperature of 10,000,000,000 degrees celsius a nuclear reaction comes to play and hydrogen turns into helium and energy is produced. This is the systematic process of how light and heat are produced from it.
 * How is the energy source light and heat produced from it? **