The study of the function of the nervous system, including how nerves transmit signals and how muscles move.