The study of the functions of the nervous system, including how neurons work and how they communicate with each other.