The American astronomer George Greenstein discusses this in The Symbiotic Universe, p 96:
Chlorophyll is the molecule that accomplishes photosynthesis... The mechanism of photosynthesis is initiated by the absorption of sunlight by a chlorophyll molecule. But in order for this to occur, the light must be of the right color. Light of the wrong color won't do the trick.
A good analogy is that of a television set. In order for the set to receive a given channel it must be tuned to that channel; tune it differently and the reception will not occur. It is the same with photosynthesis, the Sun functioning as the transmitter in the analogy and the chlorophyll molecule as the receiving TV set. If the molecule and the Sun are not tuned to each other-tuned in the sense of colour- photosynthesis will not occur. As it turns out, the sun's color is just right.
One might think that a certain adaptation has been at work here: the adaptation of plant life to the properties of sunlight. After all, if the Sun were a different temperature could not some other molecule, tuned to absorb light of a different colour, take the place of chlorophyll? Remarkably enough the answer is no, for within broad limits all molecules absorb light of similar colours. The absorption of light is accomplished by the excitation of electrons in molecules to higher energy states, and the same no matter what molecule you are discussing. Furthermore, light is composed of photons, packets of energy and photons of the wrong energy simply can not be absorbed… As things stand in reality, there is a good fit between the physics of stars and that of molecules. Failing this fit, however, life would have been impossible.
The harmony between stellar and molecular physics that Greenstein refers to is a harmony too extraordinary ever to be explained by chance. There was only one chance in 1025 of the Sun's providing just the right kind of light necessary for us and that there should be molecules in our world that are capable of using that light. This perfect harmony is unquestionably proof of Creation.
the gases of the atmosphere let through just the right light for photosynthesis and the generation of oxygen while at the same time absorbing all the harmful EM radiation on either side of the visual window. Commenting on the narrowness of this crucial window, the Encyclopaedia Britannica remarks13: "Considering the importance of visible sunlight for all aspects of terrestrial life, one cannot help being awed by the dramatically narrow window in the atmospheric absorption...and in the absorption spectrum of water" (my emphasis).