How Astronomers Use Spectra to Learn About the Sun