The moon has no atmosphere so it is scorching hot (+100C) during the day and bitterly cold (-150C) at night. The Earth has an atmosphere made up of oxygen, nitrogen, carbon dioxide (CO2) and other gases. Over 150 years ago scientists proved that CO2 traps heat from the sun. We also know without any doubt that burning fossil fuels like oil, gas and coal emits CO2.
Measurements, not computer models or theories, measurements show that there is now 46% more CO2 in the atmosphere than 150 years ago before massive use of fossil fuels. That extra CO2 is like putting another blanket on at night even though you are already nice and warm.
The Earth is now 1.0 C hotter on average according to the latest measurements. Heat is a form of energy and with so much more energy in our atmosphere our weather system is becoming supercharged resulting in stronger storms, worse heat waves, major changes in when and where rain falls and more.