Coffee also is great for headache when the headache is caused by vasodilation (the most common type).
Also aspirin is literally just a isomere of salyssillic acid that occurs in I think willow tree bark. which even in its raw form is a reasonably effective pain killer.