No TL;DR found
The sun energy is emitted as heat radiations. Some of these are absorbed and retained by the earth's surface. Then again some of the absorbed heat is reradiated by the earth into the atmosphere. There is an energy balance between the heat energy reaching the earth and the heat energy i.e. radiated into the space. This energy balance determined the earth's surface temperature. Excess accumulation of some gases like carbon dioxide, methane, chlorofluoro carbons(CFS). Ozone and water vapour are responsible for increasing heat on the earth. These gases are known as green house gases. These gases trap the earth heat and causes global warming.