Our sun radiates at all wavelengths, but its radiation is most intense in the wavelengths that are visible to us. It’s probably no accident that the wavelengths we are able to see with the naked eye are those in which the sun radiates most strongly: it’s likely that our eyes evolved with the ability to detect electromagnetic radiation in that range precisely because that is the range of radiation most available to them.