Since sunrays fall on the black body, it absorbs more radiation, and since its temperature is constant, it also emits more radiation. Also, sun light is treated as white light, which comprises of all wavelengths (VIBGYOR) in the visible spectrum. Hence, it radiates more energy in the visible spectrum.