The nervous system is additionally divided by function into the somatic nervous system, which is the part that controls voluntary actions (like scratching your head), and the autonomic nervous system, which controls all those things like heartbeats that you don’t have to think about because they are automatic.