 When an object's light is broken into its component colors, an image akin to a rainbow is formed.This image is called a spectrum.Different substances absorb light at different wavelengths, and when the spectrum for a specific object is unravelled, dark lines (called absorption lines) appear where the substances within it have absorbed that particular wavelength of light.