On a quiet beach in San Luis Obispo County, California, a turkey vulture tore into an unexpected meal: a baby white shark, likely stillborn, washed up with the tide. The moment was captured in a photo by a passerby and uploaded to the internet — not for fame, but for science. That image now lives in a growing global database called Who Eats Whom, a project revealing the messy, fascinating truth of how life feeds on life.

Forget the simple food chains from school. Real ecosystems are tangled webs — spiders eating bees that pollinate flowers, rats cannibalizing their young, parasites feasting on eagles. For decades, scientists documented these connections by hiking into the wild or sifting through animal droppings. Now, they’re turning to something faster, wider, and far less smelly: photos taken by ordinary people with smartphones.

Who Eats Whom pulls data from iNaturalist, a nonprofit platform that identifies and geotags species in user-uploaded photos. Since its launch, the project has mapped 17,000 feeding interactions across 5,700 species in over 100 countries. One photo shows an American ermine dragging a brown rat near Ottawa. Another captures a red-tailed hawk mid-meal, beak deep in a squirrel somewhere in the American Midwest. Each image is a clue, helping scientists piece together who eats whom — and how these relationships are shifting.

"Even if we look back, say, five years ago, there have been a lot of changes in the feeding patterns of these animals," said computer scientist Aditi Mallavarapu of North Carolina State University. The goal isn’t just to record what’s happening now, but to spot what’s missing — signs that species are vanishing or moving as the planet warms.

The platform’s interactive food web lets users explore these connections. Type in "Western honey bee" and you’ll see it’s preyed upon by the goldenrod crab spider — a ghostly white hunter — but also that the bee feeds on honeysuckle, thistles, and buttercups, helping them reproduce. "There’s all kinds of complicated ways that energy moves through real food webs, and we’re trying to document that messiness as much as we can," said ecologist Bradley Allf, lead author of a new paper on the project in PLOS Biology.

As species migrate toward cooler climates, ecosystems are being reshuffled in real time. Who Eats Whom could help conservationists respond — and anyone with a phone might capture the first proof of a new predator in town. "The biggest challenge is really data acquisition," said Peter Roopnarine of the California Academy of Sciences, "They sometimes can be ephemeral — like it happens once in a lifetime of a species, and that’s it."

With every photo uploaded, a new thread is added to the web of life — helping us understand, and protect, the planet’s delicate balance.