Deviations from the homeostatic ideal may generate a homeostatic emotion, such as pain, thirst or fatigue, that motivates behavior that will restore the body to stasis (such as withdrawal, drinking or resting).