A spectroscope is an optical instrument used to separate and analyze light into its component wavelengths or colors. This device allows scientists to study the spectral lines of various light sources, which provides crucial information about the physical and chemical properties of celestial objects. By using a spectroscope, astronomers can determine elements present in stars, measure their temperatures, and analyze their motion through the Doppler effect.