When a signal is called by waves, it is characterized by wavelengths and frequencies (which are related).
A spectrum shows what wavelengths or frequencies are present in a signal.
A complicated sound
A spectrogram uses color for amplitude (loudness for sound) and shows many spectra (spectrums) together for a period of time.
Spectrogram for a complex spectrum