A headache is pain perceived in the head or upper neck. It can be a primary neurological disorder, as in migraine, or asymptom arising from another process. The painlocation alone therefore does not specify its mechanism.
The distinction matters experimentally as well as clinically: studies should define the headachephenotype being measured rather than combine every episode of head painas if it were one biological condition.