Exploration of newer possibilities for the analogues of oxadiazole, thiadiazole, diazepines, thiazepines related heterocycles: their synthesis and pharmacological studies