Dogs understand what some human words mean, according to a study published in the prestigious journal Science.

In a world-first experiment, academics in Hungary trained 13 dogs to voluntarily lie in an MRI scanner to monitor what happened in their brain when the researchers spoke to them.

They discovered that dogs’ brains process language in a similar way to humans, with the right side dealing with emotion and the left processing meaning.

It was only when both sides of the brain agreed they were hearing praise that the dog was truly happy.

While this was only the dogs’ “word-meaning representation”, it still shows they had an idea of what message the specific sound of an individual human word was designed to convey.

Lead researcher Dr Attila Andics, of Eötvös Loránd University, Budapest, said: “During speech processing, there is a well-known distribution of labour in the human brain.

“It is mainly the left hemisphere’s job to process word meaning, and the right hemisphere’s job to process intonation. The human brain not only separately analyses what we say and how we say it, but also integrates the two types of information, to arrive at a unified meaning.

This country has opened its first-ever dog beach

“Our findings suggest that dogs can also do all that, and they use very similar brain mechanisms.”

During the brain scans, the researchers spoke words like “good boy” and “well done” spoken with a praising intonation, the same words in a neutral voice and also words that were meaningless to them, like “however”, in both intonations.

The scans showed the dogs left brain tended to be activated when they heard words that were meaningful to them. This did not happen when they heard words they did not understand. The right hemisphere activated when they heard a praising intonation.

But the reward centre of their brains – which responds to pleasurable sensations like being petted, having sex and eating nice food – was only activated when they heard praising words spoken in a praising intonation.

“It shows that for dogs, a nice praise can very well work as a reward, but it works best if both words and intonation match,” Dr Andics said.

“So dogs not only tell apart what we say and how we say it, but they can also combine the two, for a correct interpretation of what those words really meant.

“This is very similar to what human brains do.”

The dogs from Instagram Show all 6 1 /6 The dogs from Instagram The dogs from Instagram Noodle the Dachshund is just over a year old and comes with her own hashtag (#OodlesOfNoodle) The dogs from Instagram Three-year-old Staffie Ramsey was malnourished when he was adopted as a puppy but is now big and boisterous with ripped muscles and a cheeky grin The dogs from Instagram Winny the Welsh Corgi has been credited with the breed's upsurge in popularity The dogs from Instagram Bruno the miniature Dachshund has 66,700 followers The dogs from Instagram Mika the Husky has 58,900 followers The dogs from Instagram Elle the French Bulldog has 8,868 followers

This appears to contradict the idea that dogs only understand tone of voice and do not have an idea of the words actual meaning.

While they might respond tentatively to a praising tone using words they do not understand – or even insults – they are only genuinely happy when they understand the praise they are receiving.

The researchers described their work as a first step towards understanding how dogs interpret human speech.