A collimator is a device used to align the optical axis of the eyepiece/focuser with that of the telescope. The alignment ensures that the centerlines are aligned and to rectify angular deviations.