Will a photon of ultraviolet light have MORE ENERGY or LESS ENERGY then photon of gamma rays ? Give a reason

A photon of gamma rays will have more energy than a photon of ultraviolet light. This is because gamma rays have a much shorter wavelength and higher frequency than ultraviolet light, which results in higher energy levels. E = hf, where E is energy, h is Planck's constant, and f is frequency. Since gamma rays have a higher frequency, they will have more energy compared to ultraviolet light.