https://en.m.wikipedia.org/wiki/Black-body_radiation
You can see it in the picture, the radiation is very wide.
I was pointing out that literally everything we see is the result of that object emitting energy which our eyes then sense
(The near infrared range corresponds to the typical energy differences between different vibrational states of the atoms in a molecule. Such energy differences are smaller than the energy differences encountered in most chemical reactions, which involve extracting or adding atoms from/to the molecule, which obviously needs more energy than the vibration of those atoms, when they remain bound in the molecule.)
Thus it is normal and expected that the output molecules of an exothermic chemical reaction may be in an excited state from which they can decay to their ground state by emitting light exactly in the visible range.
As long as it is living, in any organism a lot of exothermic chemical reactions happen. In many cases the energy produced by those reactions is used for something useful for the organism (i.e. the excited output molecules transfer their surplus energy to other molecules), but it also may escape as emitted light, reducing the efficiency in the use of the energy produced by an exothermic chemical reaction to less than 100% (the efficiency is also reduced when the energy of the excited molecule is transferred to other molecules than those intended, which eventually results in warming the environment instead of doing useful work).
So you're saying that there is something special about the visible spectrum? I've always wondered why most eyes we know of work in that range (modulo some leftovers from our time as aquatic creatures)
https://www.sciencedirect.com/topics/physics-and-astronomy/s...
However the causal dependencies are more complex than this. If the available light would have been from another range of the possible frequencies, the eyes could not have used the same kinds of photoreceptors that are used now in the eyes of all animals.
For instance, if the available light would have been only infrared, then photo-chemical reactions could not have been used for detecting it, but such light could have been detected by its warming effect, like some snakes do for detecting infrared.
If our star would have been much colder, with negligible visible light, then such light might have been not usable for splitting water and generating free oxygen in the atmosphere. In such a case, the planet would have remained populated only by anaerobic bacteria and viruses, like in the first few billion years of Earth's history.
It's also special for a few other reasons. The most obvious one being that UV light is destructive to many forms of animal life, there isn't much utility in being able to see for example something like X-Rays. They don't occur naturally in any quantity and the mechanisms that create them (lightning) also give off visible light.
On the other end of things, lower energy photons are what we would call heat. Some animals can see it, but not humans. We can sense it just fine through other mechanisms however.
* Meaning "molecules containing carbon", not "hippy chemistry done without pesticides".
Of course visible light is visible because it hits our eyes (is emitted by sun and is not filtered), but the comment about valence shells is quite a bit more fundamental than that.