Energy of Photons
The energy of a photon is directly proportional to its frequency and inversely proportional to its wavelength, as described by the equation E = hν, where E is energy, h is Planck's constant, and ν is frequency. Therefore, ultraviolet light, with its higher frequency, possesses greater energy than infrared light, which has a lower frequency and longer wavelength.