Spectra of Dynamical Systems