Electrochemical heavy metal detection, photocatalytic, photoluminescence, biodiesel production and antibacterial activities of Ag–ZnO nanomaterial