The study of the effects of drugs on the nervous system, including how medications treat neurological disorders.