Nuclear reactions in stars causes stars to produce light.
And, of course, the sun is a star.
Nuclear reactions in the sun cause the sun to produce light.
What in the sun causes the sun to produce light?
  energy of moving objects
  hydrogen and oxygen
  heat energy
  water
  solar rays
  rotation
  nuclear reactions
  kinetic energy