Homeostasis, any self-regulating process by which biological systems tend to maintain stability while adjusting to conditions that are optimal for survival.