Herpetic keratitis is a corneal infection caused by the herpes simplex virus, leading to inflammation and potential scarring of the cornea if untreated. Early diagnosis and antiviral treatment are crucial to prevent vision loss and manage recurrent episodes effectively.