does the sun emit xrays
So the Sun doesn't give off any gamma rays to speak of. The Sun does, however, emit x-rays, UV, light (of course!), IR, and even radio waves. The peak of the Sun's energy output is actually in the visible light range.This may seem surprising at first, since the visible region of the spectrum spans a fairly narrow range.f we look at the Sun in visible or IR light, we will pretty much be observing the photosphere. However, the Sun emits more high energy UV and X-rays than a blackbody radiator would. These high energy photons are mainly emitted from the Sun's atmosphere.