Since the unicellular creature, going through the evolution of the living organisms, until the recently ones, with complex and different kind of neurons, the nervous system has had only one purpose; to receive a particular change of energy of the environment, integrate it as an stimulus, and give a particular response to it. The stimulus can only be of two different types, harmful or beneficial, and they can have variations according the species and the particular state of the living creature.