X-ray spectra can be either continuous or characteristic. Continuous spectra consist of radiations of all possible wavelengths emitted when electrons are slowed by the target material. Characteristic spectra consist of definite wavelengths that are emitted when inner shell electrons are ejected from atoms, creating vacancies that are filled by higher shell electrons as they fall. This releases energy in the form of X-rays at wavelengths characteristic of specific elements. Characteristic spectra appear as sharp lines superimposed on the continuous spectrum.