In an organism, the brain directs the body how to respond to stimuli from the environment. In a cell, this function is performed by the what?