Influence of rare-earth metal on the zinc oxide nanostructures: application in the photocatalytic degradation of methylene blue and p-nitro phenol