A study has revealed that spending quality time with a dog generates activity in the area of the brain associated with relaxation.