As vertebrates evolved into mammals and the skull thickened and the brain enlarged, the pineal gland migrated inward and lost its direct photoreceptive connection to external light, becoming buried deep within the brain. However it retained its fundamental sensitivity to light and electromagnetic fields, now receiving light information indirectly through the retinohypothalamic tract, a neural pathway that carries light signals from the retina through the hypothalamus to the pineal gland.