The nervous system plays an important role in maintaining homeostasis. List, in order, the basic steps that describe how the nervous system carries out this task.