The body's ability to maintain a stable internal environment despite changes in the external environment.