Answer
A high-frequency photon has more energy than a low-energy photon.
Work Step by Step
Ultraviolet photons, with their shorter wavelength and higher frequency compared to visible light, possess sufficient energy to initiate harmful chemical reactions in human skin.
However, a sufficiently intense beam of visible or infrared light can cause burns to the human skin, no matter what its frequency, so be careful!