A robot which mimics human emotions and responds to the way it is treated was recently displayed at the Science Museum in London.
The aptly-named Heart Robot has a simulated heart and lungs. It responds to soothing stimuli such as hugs or soft voices in a similar way to humans. Its heart rate and breathing slows and it relaxes its muscles.
But if it is shaken or yelled at it appears to suffer stress reactions - its heart rate and breathing quicken and it tenses up.
The robot was created at the University of the West of England in Bristol, in an attempt to explore how humans react to a machine with simulated emotions.