Text this: Foundations of laser spectroscopy