In geology, mineralogy, materials science and semiconductor engineering, a scanning electron microscope (SEM) fitted with a cathodoluminescence detector, or an optical cathodoluminescence microscope, may be used to examine internal structures of semiconductors, rocks, ceramics, glass, etc. in order to get information on the composition, growth and quality of the material.