The regulation of all aspects of the internal environment such that physiological processes can proceed at optimum rates in an organism is called
homeostasis
Homeostasis is the regulation by an organism, of the chemical composition of its body fluids and other aspects of its internal environment so that physiological processes can proceed at optimum rates.