To have a literal third eye is a by product of paleolithic or extraterrestrial homogeny.
It is a evolved biological aspect from a pro-reptilian and humanoid biology. Initially it is for temperature modulation and a heat sensor, which has transgressed to form an actual retina.