Text this: Basic principles-of spectroscopy