Climate change refers to long-term shifts in weather patterns due to greenhouse gases trapping energy in the atmosphere, causing average temperatures to rise rather than fall. This greenhouse effect alters ecosystems by disrupting the delicate balance of factors like rainfall, temperature, and soil conditions that habitats depend on, endangering many living things.