The first eyes probably appeared long before the Cambrian explosion that occurred from 541 million to 530 million years ago. Some of the earliest renditions might have been a simple pit eye, a kind of pit of tissue lined with light receptors, or what scientists call an eyespot, a simple region that detects light. Over time, new anatomy appeared. Lenses and corneas, which bend and focus light, developed, with the latter taking on special importance for organisms living on land. “The cornea, which in fish is simply a transparent protective cover for the eye, became an image-forming structure in its own right,” wrote the late Michael Land, a biologist at the University of Sussex in England, in a 2005 study in the journal Current Biology, “because it now had air on one side and water on the other.”

Some organisms have kept basic structures—flatworms and mollusks still have their simple pit eyes—while others sprouted mirrored components, elaborate pupil dynamics and arrangements that let their owner see above and below a waterline simultaneously. Even in animals that rely primarily on sensations besides sight, incredible eye features persist. Below are a handful of peepers from across the animal kingdom. A few resemble our own, and some have capabilities you may wish you had, too.

Mossy New Caledonian gecko is the largest gecko species ever recorded—individuals grow up to 14 inches long. Like some of its fellow nocturnal relatives, it will slap its tongue up to its eye to wipe grime away.

The silvery glow circling this bigfin reef squid’s eye likely comes from two structures: cells full of tiny plates that reflect light and legions of tiny, pigmented organs that cephalopods selectively contract or relax.

Atlantic nurse shark: The suction feeder gets shut-eye during the day and lies still while snoozing—making it the only shark species that shows multiple attributes of what the rest of the animal kingdom calls “sleep.”

Coral-boring scallop: The pictured 11 eyes in this mollusk don’t focus light with lenses like most animals’ peepers do. These eyes use reflective crystals—also found in carp scales and chameleon skin—to gather and direct the rays.

Gray whale: As most cetaceans cope with changing light intensity as they return to the surface after a dive, their pupils contract from a circle to a bean-shaped crescent at the bottom of the eye and then to a faint crescent connecting two tiny holes.

Parrot: Although light in the ultraviolet range lies outside the boundaries of what humans detect, birds can see these wavelengths, which play a role in their mating and food-finding habits.

Four-eyed fish: A single eye in this species—pictured here—holds two lobes. One sits above the waterline, and one sits below it, lending the “four-eyed” moniker to a fish that cruises the water’s surface for floating snacks.

Wood louse spider: This species belongs to a relatively small number of spiders that have six eyes instead of eight. They lack the “principal eyes,” which convey color vision and higher spatial acuity in most species.

Indian elephant: Dissections of elephant eyes show that during the day, the gentle giants likely have red-green color blindness just like some humans, meaning they can’t distinguish the two colors.

Horsefly: These flies are attracted to polarized light, or rays of light that vibrate in the same direction. Females find prey by locking in on polarized beams coming off its hair.

Tokay gecko: When this slit pupil constricts, the scalloped edges merge to make four diamond-shaped pinholes and four images of an object within the gecko’s retina. Whether the images converge into one depends on how far away they are, which probably helps the reptile gauge distance.

Crocodile fish: As the species lurks around sandy ocean floors, the iris lappet, or lacey covering drooping over its eye, obscures the pupil and improves fish’s overall camouflage.

A version of this article with the title “Science in Images” was adapted for inclusion in the August 2021 issue of Scientific American.