For millions of years, long before humans invented language, our ancestors were already giggling. A new study finds that humans and great apes laugh in surprisingly similar ways — and that shared sense of humor goes back about 15 million years.

Researchers at the University of Warwick in England decided to find out just how far back laughter stretches. They tickled 13 captive apes — including gorillas, orangutans, chimpanzees, and bonobos — and recorded every giggle. Then they compared those recordings to the laughs of four young children, captured while the kids were being tickled and playing at home.

What they found surprised them: the chuckles of humans and great apes follow similar rhythms, with regular timing between each laugh. It's a pattern that likely comes from a common ancestor that lived roughly 15 million years ago, the researchers reported in the journal Communications Biology.

"In a way, we are very similar to other great apes because we've been laughing in a similar way for 15 million years," said Chiara De Gregorio, a primatologist who led the study.

Laughter is one of the oldest ways animals communicate feelings without using words. Many creatures can laugh, but their giggles don't sound much like ours. When researchers tickle rats, for example, the rodents respond with high-pitched ultrasonic squeaks — a totally different rhythm.

Compared to our ape cousins, human laughter has evolved to become faster and more complex. Our laughs change depending on the situation: a polite chuckle at work sounds nothing like a full-body laugh with close friends.

"We are like the masters of laughter, I would say," De Gregorio said.

Brittany Florkiewicz, who studies how animals communicate at Lyon College and was not involved in the research, said the findings make sense. She hopes scientists will gather similar recordings from other playful animals, like dogs, horses, and cats.

"That could tell us more about how laughter evolved, so we can understand what makes us uniquely human, but also what is similar between humans and other animals," Florkiewicz said.

Studying the origins of laughter might sound like a silly topic, but researchers say it helps us understand how human communication developed — including the very roots of speech. Because sounds don't leave fossils, scientists have to work backwards from the evidence they have, piecing together the story one chuckle at a time.