A collimating lens is a lens used to gather together a parallel beam of light.
In the original spectroscope design in the early 19th century, light entered a slit and a collimating lens transformed the light into a thin beam of parallel rays. A prism then refracted the beam into its spectrum.