The sun is actually a huge thermo-nuclear reaction. It is similar to what occurs during the explosion of an H -bomb or Hydrogen bomb. Except that it never stops. It showers us with all sorts of radiation. Including some beneficial types (like light for example).
To Learn more about fusion, follow the link