When you have a thought, there are specific sets of neurons firing that represent that thought in your brain. Scientists will try to track a thought in order to make a correlation.