Biogenic synthesis and photocatalytic activity of CdS nanoparticles