This is an extract from the astrophysics chapter in my book:
Hydrogen atoms fuse to form helium.At At the same time, lots of of gamma photons and neutrinos are produced. The photons take thousands of years to "fight" their way to the surface of the Sun, but then escape into space as visible or near visible photons at the speed of light.
I am really confused about how the sun produces light. I understand that through nuclear fusion, energy is formed..., but isn't this energy in the form of thermal and gamma photons.? I do not understand how visible light is emitted which is the reason to why we see the sun. Could someone please elaborate the paragraph from my book.