Earthworms lack eyes entirely. They have light-sensitive cells scattered in their epidermis, particularly concentrated at the anterior (front) end, which allow them to detect light intensity and direction. This helps them avoid exposure to damaging light, but they cannot form visual images.