Lens is used in spectroscope give reason
A spectroscope is essentially an optical tool which is used to study the composition of light coming from various sources, especially from outer space. This is done by breaking down the light into its component colors and studying the resulting spectra.
Now, a lens is used as it can create a distinct spectral pattern where every component is distinguishable (minimal over laping of colors) and thus can be studied easily.