Evolution of defects and their effect on photoluminescence and conducting properties of green-synthesized ZnS nanoparticles