 Within the brain, dopamine functions partly as a global reward signal.An initial dopamine response to a rewarding stimulus encodes information about the salience, value, and context of a reward.In the context of reward-related learning, dopamine also functions as a "reward prediction error" signal, that is, the degree to which the value of a reward is unexpected.