Both computers and brains can be modified to perform new tasks. New hardware and software can be installed in computers to add additional memory and programs. The brain undergoes continual modification and can learn new things. For example, after some kinds of brain injuries, undamaged brain tissue can take over functions previously performed by the injured area. Computers and brains both have the ability to monitor their surroundings and respond with behavior to manipulate their environment.
Sensors attached to computers can sample temperature, humidity and light levels.
Computers can be programmed to control heaters, lights, and other equipment in response to the information they receive. Your brain is also connected to sensors or receptors in your eyes, ears, nose, mouth, and skin. For example, if a room is too cold, your brain might send signals to muscles to get you to move to a warmer place or to put on a sweater. The delicate contents inside your computer are protected by a hard cover. Your skull provides a similar function for your brain.