Scientists have long known that plants have photoreceptors and can detect the presence of light, often in highly sophisticated ways. They can, for example, sense the color and direction of a beam, according to Simon Gilroy, a professor of botany at the University of Wisconsin Madison. That’s what the telegraph plant is doing when it swivels its leaves toward the light.