When an ecosystem is subject to some sort of stress or perturbation, it responds by moving away from its initial state, moving towards the limits of its homeostatic parameters. The tendency of a system to remain close to its equilibrium state, despite that disturbance, is termed its resistance. On the other hand, the speed with which it returns to its initial state after disturbance is called its resilience.