The Sun is a rather opaque object, so it radiates like a black body.
XXX: with a temperature of approximately 6000 Kelvin, so the maximum radiation falls on this wavelength
YYY: Oh, I probably didn’t have to use my search history to hit Google "black body"