Fundamentals of Spectral Science