Fundamental of molecular spectroscopy