The radiation from the Sun is continuously distributed over all the wavelengths, therefore the Sun can be considered as a perfect black body. In another way, temperature on the surface of the Sun is about 5800 K. The radiation from a black body at this temperature is almost similar to that from the Sun.