Preparation and characterization of photocatalytic Gd-doped TiO2 nanoparticles for water treatment