Photoexcitation is the production of an excited state of a quantum system by photon absorption.
The excited state originates from the interaction between a photon and the quantum system.
In contrast to that, light with shorter wavelengths emit photons with more energy.
When the photon interacts with a quantum system, it is therefore important to know what wavelength one is dealing with.
The absorption of the photon takes place in accordance with Planck's quantum theory.