Synthesis and characterization of functionalized mesoporous silica for diverse application like metal adsorption and drug delivery system