How does the central nervous system (CNS) function similarly to the central processing unit (CPU) of a computer?