Spectroscopic structure investigations on heterocyclic compounds