First, let us look at the anatomy and physiology of the nervous system at macroscopic level. A sensory impulse travels along peripheral nerves and reaches the brain. Inside…