Ophthalmic anesthetics, including drops, gels, or ointments, numb the eye by blocking pain signals from nerve endings. Agents like Proparacaine, Tetracaine, and Lidocaine provide fast, effective relief, ensuring comfort during diagnostic procedures, minor surgeries, and other ophthalmic treatments.