The third eye is much smaller than the main paired eyes; in living species, it is always covered by skin, and is usually not readily visible externally. The parietal eye is a part of the
epithalamus, which can be divided into two major parts—the
epiphysis (the pineal organ; or the pineal gland, if it is mostly endocrine) and the parapineal organ (often called the
parietal eye or, if it is photoreceptive, the
third eye). The structures arise as a single anterior
evagination of the
pineal organ or as a separate outgrowth of the roof of the
diencephalon; during development, it divides into two bilaterally somewhat symmetric organs, which rotate their location to become a caudal pineal organ and a parapineal organ. In some species, the parietal eye protrudes through the
skull. The parietal eye's way of detecting light differs from the use of
rod cells and
cone cells in a normal vertebrate eye. Many of the oldest fossil vertebrates, including
ostracoderms,
placoderms,
crossopterygians, and early
tetrapods, have in their skulls sockets that appear to have held functional third eyes. The socket remains as a
foramen between the
parietal bones in many living amphibians and reptiles, although it has vanished in birds and mammals. '', showing the pineal foramen on the midline of the skull roof
Lampreys have two parietal eyes, one that developed from the parapineal organ and the other from the pineal organ. These are one behind the other in the centre of the upper surface of the braincase. Because lampreys are among the most primitive of all living vertebrates, it is possible that was the original condition among vertebrates, and may have allowed bottom-dwelling species to sense threats from above. ==Comparative anatomy==