Cathodoluminescence is an optical and electrical phenomenon whereby a beam of electrons is generated by an electron gun (e.g. cathode ray tube) and then impacts on a luminescent material such as a phosphor, causing the material to emit visible light. The most common example is the screen of a television. In geology, mineralogy and materials science a scanning electron microscope with specialized optical detectors, or an optical cathodoluminescence microscope, is used to examine internal structures of semiconductors, rocks, ceramic, glass etc. in order to get information on the composition, growth and quality of the material.