Collimators are devices used in various fields, such as medical imaging and radiation therapy, to narrow a beam of particles or waves, ensuring that they travel in parallel paths. This enhances the precision and accuracy of the beam, minimizing exposure to surrounding areas and improving the quality of the resulting image or treatment.