Heterocyclic compounds: Synthesis and spectral studies of some nitrogen and sulphur containing hetercocyles