Green Biosynthesis of Nanoparticles: Mechanisms and Applications