Knowing what animals nosh on in the wild and how that diet fluctuates can offer a key to their health and the overall health of the species. But not all beasties like to dine al fresco, at least not where scientists can watch. So researchers decided to reach for the scat.

As a test case they focused on four mountain gorillas in a park in Uganda, because they could actually see what these apes ingested. Different plants have different ratios of carbon’s common isotopes. So for 10 months the researchers measured the carbon in the plants that went into the gorillas and then what came back out.

And they found that the dung don’t lie, at least when it comes to what’s been on Koko’s menu.

Scientific American is part of Springer Nature, which owns or has commercial relations with thousands of scientific publications (many of them can be found at www.springernature.com/us). Scientific American maintains a strict policy of editorial independence in reporting developments in science to our readers.