Global warming is defined as an increase in the average temperature of the Earth's atmosphere, especially a sustained increase significant…