Many dog owners will tell you their pet can pick up on when they are happy or sad, and now, scientists have proved that they may well be right.

The new research found that the brain of a dog reacts in the same way as the human brain when played sounds including laughing and crying.

“Dogs and humans use similar brain mechanisms to process social information and this is the first step to understanding what makes vocal communications betweens dogs and humans so successful,” said Attila Andics, lead author of the research.

Download the new Independent Premium app Sharing the full story, not just the headlines

11 dogs were carefully trained to lie still in an fMRI scan at the Hungarian Academy of Science's Eotvos Lorand University in Budapest for the study.

It wasn’t an easy process and took 12 training classes, along with seven sessions in the scanner room. In the end though the dogs were happy to take part, said Dr Marta Gasci.

Shape Created with Sketch. In pictures: Dogs' brains scanned in first such study Show all 10 left Created with Sketch. right Created with Sketch. Shape Created with Sketch. In pictures: Dogs' brains scanned in first such study 1/10 Hungary Owner Dora Kettinger talks to her dogs after an examination in a neurology clinic in Budapest 2/10 Hungary Dora Kettinger arrives with her dogs at a neurology clinic in Budapest 3/10 Hungary Malna (Raspberry), a Border Collie, waits in a neurology clinic in Budapest 4/10 Hungary Maverick, a Border Collie, lies in a MRI scanner in a neurology clinic in Budapest 5/10 Hungary Hungarian researchers conducted the first comparative dog and human brain study with developing dog training methods to make them lay motionless in MRI machines 6/10 Hungary Owner Kata Fodor (L) talks to her dog Walter, a Golden Retriever, after an examination in a neurology clinic in Budapest. The study was done to understand how dogs can be so remarkably good at tuning into the feelings of their owners 7/10 Hungary Ethologist Marta Gacsi (R) talks to Walter, a Golden Retriever, before an examination in a neurology clinic in Budapest 8/10 Hungary Walter, a Golden Retriever, waits in a neurology clinic in Budapest 9/10 Hungary A dog has its brain scanned 10/10 Hungary Dogs and humans have brains that respond to voices in the same way, scientists have learned. The same area of the brain activates in both species when they hear a voice - whether it be the human command 'sit' or a doggy whine 1/10 Hungary Owner Dora Kettinger talks to her dogs after an examination in a neurology clinic in Budapest 2/10 Hungary Dora Kettinger arrives with her dogs at a neurology clinic in Budapest 3/10 Hungary Malna (Raspberry), a Border Collie, waits in a neurology clinic in Budapest 4/10 Hungary Maverick, a Border Collie, lies in a MRI scanner in a neurology clinic in Budapest 5/10 Hungary Hungarian researchers conducted the first comparative dog and human brain study with developing dog training methods to make them lay motionless in MRI machines 6/10 Hungary Owner Kata Fodor (L) talks to her dog Walter, a Golden Retriever, after an examination in a neurology clinic in Budapest. The study was done to understand how dogs can be so remarkably good at tuning into the feelings of their owners 7/10 Hungary Ethologist Marta Gacsi (R) talks to Walter, a Golden Retriever, before an examination in a neurology clinic in Budapest 8/10 Hungary Walter, a Golden Retriever, waits in a neurology clinic in Budapest 9/10 Hungary A dog has its brain scanned 10/10 Hungary Dogs and humans have brains that respond to voices in the same way, scientists have learned. The same area of the brain activates in both species when they hear a voice - whether it be the human command 'sit' or a doggy whine

“The dogs training was based on positive reinforcement techniques,” she said. “Lots of praise while they were lying on the scanner, and of course lots of food rewards."

The team also got the lesser trained dogs to watch the experienced dogs on the scanner so they could see all the rewards and attention the other was getting. “It made them want to get on the scanner bed, participate in the task,” said Dr Gasci.

22 human volunteers took part in the research, the first ever comparative neuroimaging study of a nonprimate and a primate species.

Each of the people and dogs were played the same 200 different noises including non-word human sounds, barking, cars and whistles.

It was found that the areas of the brain activated by the various sounds was strikingly similar in dogs and humans. Dogs did however react much more strongly to dog sounds than the human sounds.

“Dogs have dedicated voice areas in their brain, just as people do,” said Dr Andics. “The voice area of the dog brain responds more strongly to dog sounds, the human more strongly to human sounds.

“The voice areas are located vary similarly in the dog and human brain, this means these areas evolved at least 100 million years ago - the age of the last common ancestor of humans and dogs.”

Video courtesy of the MTA-ELTE Comparative Ethology Research Group in Hungary