The ability of the body or cell to seek and maintain a condition of equilibrium or stability within its internal environment when dealing with external changes. Homeostasis is important because all living organisms have to have a stable internal environment to function normally.