What is spectrum and what are to types of spectrum and differentiate between them?

Spectrum refers to the range of possible wavelengths of electromagnetic radiation.

There are two types of spectra:

1. Continuous Spectrum: A continuous spectrum is produced by a source that emits light at all wavelengths. This type of spectrum shows a smooth, continuous distribution of colors without any breaks or gaps. An example of a continuous spectrum is the light emitted by a hot solid object, such as a star or an incandescent light bulb.

2. Line Spectrum: A line spectrum is produced when light is emitted or absorbed at only specific wavelengths. This type of spectrum appears as a series of discrete lines or bands of colors, with gaps between them. Each line corresponds to a specific wavelength of light and is characteristic of the elements or compounds emitting or absorbing the light. An example of a line spectrum is the emission spectrum of a gas, such as a neon sign or a hydrogen lamp.

In summary, a continuous spectrum shows a smooth, uninterrupted distribution of wavelengths, while a line spectrum shows distinct, discrete lines of specific wavelengths.