These medications cause the pupil to constrict, help reduce intraocular pressure in the eye, and can help treat glaucoma.