The docking study demonstrated that compound 10 strongly bonded with PTP1B (a potential drug target for the treatment of type-II diabetes and obesity), hydrogen bonds, and hydrophobic interactions, verifying the importance of sugar unit. This evidence concerns the gene PTPN1 and type 2 diabetes mellitus.