Within the brain, neurons receive, integrate, and generate messages. The messages are received and integrated using electrical impulses. Neuron is the basic component of the nervous system and the most important part of the brain. There are different types of neurons, depending on their function and role, but all of these types carry electrical impulses.