in many simple animals the eyespot senses light with a pigment molecule called an opsin. then a nerve fibre goes from the eyespot to the simple nervous system. this allows the animal to move in response to (for example) a shadow passing over it.