Global warming is the long-term heating of Earth's surface observed since the pre-industrial period (between…