Finds the energy of a single photon as E = hc ÷ wavelength. Shorter wavelengths carry more energy, which is why ultraviolet light burns skin and visible light does not.
Light is a wave, and it is also a stream of particles called photons. The energy each photon carries depends on nothing but the wavelength.
Shorter wavelength, more energy, since sits in the denominator.
Find the energy of one photon of green light, at 550 nm.
In electronvolts that is 2.25 eV.
Working in electronvolts and nanometres, the whole formula collapses to
For 550 nm, eV, exactly as above. Visible light runs from 1.8 eV at the red end (700 nm) to 3.1 eV at the violet end (400 nm).
Breaking a chemical bond takes a few electronvolts.
The decisive point is that this depends on wavelength, not brightness. No intensity of red light will ever give you sunburn: each individual photon is too weak, and a flood of weak photons is still a flood of weak photons. Meanwhile faint ultraviolet does damage with every photon that lands.
This is precisely Einstein's explanation of the photoelectric effect, and it was the evidence that light comes in particles.