Analogously, chemical sunscreens turn UV to heat by absorbing wavelengths with their different bonds and vibrating.