Researchers used visual threat manipulation and thermal stimulation in the virtual reality environment to investigate how the brain perceives pain. They found that the brain perceives pain more strongly when the perceived pain is out of alignment with reality. In particular, pain was amplified when unexpected events occurred.