A single cell organism uses its eyespot to guide it towards light (where it can photosynthesize). This is a purely mechanical process, since they do not actually see. Light activates motor proteins that cause the flagellum to whip around, and the eyespot detects the direction with the highest light level, which activates other motor proteins that change the direction of movement.
Even in humans, not all light-sensing is mediated through the eye. We also have photoreactive chemicals in our skin. Tanning, for example, occurs as a result of light exposure.
Spiders and other creepy crawlers have tiny brains, and they do not process images much at all. Still, they respond to movement and levels of light. Despite their rudimentary vision, jumping spiders are pretty good at launching themselves unerringly towards their prey.
Other animals see far better than we do. For example, birds devote most of their brain to image processing, and they see orders of magnitude more detail than we. However, their eyes do not swivel in their heads--that is why they bob their heads when they walk.
Plants also respond to light through photoreactive chemicals. They have no vision whatsoever.
OK, the very first eyespots were on single cell organisms for photosenthesis. Would the simple eyespot distinguish between sunlight and moonlight? Do we have theories as to how they developed in predators? As the eye developed, the brain would have to develop as well so that it could process even rudimentary images, correct?