Environmental degradation driven by human activities has heightened the need for sustainable development strategies that balance economic growth with ecological preservation. This study uses a compartmental model approach to examine the effects of global warming on ecosystem dynamics, focusing on how rising temperatures alter interactions across trophic levels. Three case studies of varying complexity, including a human ecosystem incorporating social and economic factors, were analyzed by integrating feedback loops between greenhouse gas emissions, temperature anomalies, and ecosystem responses. The results quantitatively demonstrate that even minor disruptions in one part of an ecosystem can cause significant instability across trophic levels, potentially driving the system to collapse in a short period. These findings from all case studies highlight the cascading impacts of global warming, underscoring the intricate relationship between climate change and ecosystem stability. Furthermore, this study offers qualitative insights into the potential consequences of climate change on biodiversity and resource availability in real ecosystems, highlighting the vulnerability of such systems and the importance of incorporating feedback mechanisms into environmental policy and decision-making processes. The approach employed in this study offers a more robust framework for understanding ecosystem responses and for developing strategies to enhance resilience against climate change, thereby protecting the long-term sustainability of ecosystems.