Homeostasis is the regulation of internal chemistry to maintain a constant internal environment. This state is controlled through various feedback mechanisms that consist of receptors, an integrator, and effectors. Receptors such as mechanoreceptors or thermoreceptors in the skin detect the stimuli. The integrator such as the brain or spinal cord receives the information concerning the stimuli and sends out signals to other parts of the body. The effectors such as muscles or glands respond to the stimulus. Basically, the receptors receive the stimuli and notify the integrator, which signals the effectors to respond.