UV blocking nanoparticles primarily function by absorbing or scattering UV radiation. Materials like titanium dioxide (TiO2) and zinc oxide (ZnO) are commonly used. These nanoparticles can absorb UV radiation and convert it into harmless heat, or they can scatter the UV light away from the surface they are protecting.