Ecosystems are stable, but changeable. They react to major changes in the environment, especially climate changes. For example, the major rainforests have lasted for a long time (perhaps 50 million years or more in some cases). As the rainfall and temperature changes, they change. We know that the Amazon rainforest shrank in size during ice ages, and expanded in the warmer periods.