Eye doctors shine a light into your eyes to check the health of your pupils (if your pupils constrict in a healthy manner), and also to assess brain health (if there has been brain damage, head trauma, stroke, or an injury).