What is the function of the central nervous system?