Just as the ear has two purposes — hearing and telling you which way is up — so does the eye. It receives the input necessary for vision, but the retina also houses a network of sensors that detect the rise and fall of daylight. With light, the body sets its internal clock to a 24-hour cycle regulating an estimated 10 percent of our genes.