Eye pain is discomfort or soreness in or around the eye that can result from various causes including infection, injury, inflammation, or underlying eye conditions. An ophthalmologist evaluates the cause and provides appropriate treatment.