Climate change refers to the long-term changes in the average weather patterns and temperatures on Earth. These changes are primarily…