It gets its energy in the form of glucose from the food you eat. Your diet also provides essential materials, such as vitamins and minerals, for proper brain function. Unlike a computer, your brain has no off switch. Even when you are asleep, your brain is active. Although computers and brains are powered by different types of energy, they both use electrical signals to transmit information.
Computers send electrical signals through wires to control devices.
Signals in neurons transfer information to other neurons and control glands, organs, or muscles. There are fundamental differences in the way information is transferred through electrical circuits in a computer and through nerve cells in your brain. When a computer is turned on, electrical signals either reach parts of the machine or they do not. In other words, the computer uses switches that are either on or off. In the nervous system, neurons are more than just on or off.