There are many sources of light. The most common light sources are thermal: a body at a given temperature emits a characteristic spectrum of black-body radiation.
Black-body radiation is the type of electromagnetic radiation within or surrounding a body in thermodynamic equilibrium with its environment, or emitted by a black body (an opaque and non-reflective body) held at constant, uniform temperature. The radiation has a specific spectrum and intensity that depends only on the temperature of the body
A black body at room temperature appears black, as most of the energy it radiates is infra-red and cannot be perceived by the human eye. At higher temperatures, black bodies glow with increasing intensity and colors that range from dull red to brilliant blue-white as the temperature increases
Black body radiation has a characteristic, continuous frequency spectrum that depends only on the body's temperature, called the Planck spectrum or Planck's law. The spectrum is peaked at a characteristic frequency that shifts to higher frequencies with increasing temperature, and at room temperature most of the emission is in the infrared region of the electromagnetic spectrum. As the temperature increases past about 500 degrees Celsius, black bodies start to emit significant amounts of visible light. Viewed in the dark, the first faint glow appears as a "ghostly" grey. With rising temperature, the glow becomes visible even when there is some background surrounding light: first as a dull red, then yellow, and eventually a "dazzling bluish-white" as the temperature rises. When the body appears white, it is emitting a substantial fraction of its energy as ultraviolet radiation. The sun, with an effective temperature of approximately 5500 °C, is an approximately black body with an emission spectrum peaked in the central, yellow-green part of the visible spectrum, but with significant power in the ultraviolet as well.
Spectral lines are the result of interaction between a quantum system (usually atoms, but sometimes molecules or atomic nuclei) and a single photon. When a photon has about the right amount of energy to allow a change in the energy state of the system (in the case of an atom this is usually an electron changing orbitals), the photon is absorbed. Then it will be spontaneously re-emitted, either in the same frequency as the original or in a cascade, where the sum of the energies of the photons emitted will be equal to the energy of the one absorbed (assuming the system returns to its original state).
Depending on the type of gas, the photon source and what reaches the detector of the instrument, either an emission line or an absorption line will be produced. Dark lines in a broad spectrum are produced when a cold gas is between a broad spectrum photon source and the detector. In this case a decrease in the intensity of light in the frequency of the incident photon is seen as the photons are absorbed, then reemitted in random directions, which are mostly in directions different from the original one. This results in an absorption line, since the narrow frequency band of light initially traveling toward the detector, has been effectively scattered in other directions.
Spectral lines are highly atom-specific, and can be used to identify the chemical composition of any medium capable of letting light pass through it (typically gas is used). Several elements were discovered by spectroscopic means, such as helium, thallium, and cerium. Spectral lines also depend on the physical conditions of the gas, so they are widely used to determine the chemical composition of stars and other celestial bodies that cannot be analyzed by other means, as well as their physical conditions
A fluorescent lamp or fluorescent tube is a gas-discharge lamp that uses electricity to excite mercury vapor. The excited mercury atoms produce short-wave ultraviolet light that then causes a phosphor to fluoresce, producing visible light. A fluorescent lamp converts electrical power into useful light more efficiently than an incandescent lamp.
The spectrum of light emitted from a fluorescent lamp is the combination of light directly emitted by the mercury vapor, and light emitted by the phosphorescent coating. The spectral lines from the mercury emission and the phosphorescence effect give a combined spectral distribution of light that is different from those produced by incandescent sources. The relative intensity of light emitted in each narrow band of wavelengths over the visible spectrum is in different proportions compared to that of an incandescent source. Colored objects are perceived differently under light sources with differing spectral distributions. For example, some people find the color rendition produced by some fluorescent lamps to be harsh and displeasing. A healthy person can sometimes appear to have an unhealthy skin tone under fluorescent lighting
Correlated color temperature (CCT) is a measure of the "shade" of whiteness of a light source, again by comparison with a blackbody. Typical incandescent lighting is 2700 K, which is yellowish-white. Halogen lighting is 3000 K. Fluorescent lamps are manufactured to a chosen CCT by altering the mixture of phosphors inside the tube. Warm-white fluorescents have CCT of 2700 K and are popular for residential lighting. Neutral-white fluorescents have a CCT of 3000 K or 3500 K. Cool-white fluorescents have a CCT of 4100 K and are popular for office lighting. Daylight fluorescents have a CCT of 5000 K to 6500 K, which is bluish-white.