University Stanford University The brain is soft and electronics are stiff, which can make combining the two challenging, such as when neuroscientists implant electrodes to measure brain activity and perhaps deliver tiny jolts of electricity for pain relief or other purposes.