system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5: How does the atmosphere keep the Earth from getting too hot during the day?

I came across a bit of information that I couldn't find an answer to easily.  I saw that on the Moon, the temperatures during the day can get up to 260 degrees Fahrenheit.  As I understand, this is because there is no atmosphere to help moderate the temperature.  If the greenhouse effect helps the Earth stay warm during the night by trapping in heat like a blanket, what keeps the Earth from getting too hot during the day?  To my puny brain, I think that if anything, the Earth should be even warmer during the day than the Moon is because of the greenhouse effect.
gpt
The atmosphere doesn't just trap heat, it also moves it. The moon hits incredibly cold temperatures at night. The atmosphere carries heat all over the planet, evening out the temperature pretty substantially. If the ground gets hot, it heats the air above it. This hot air rises, drawing in colder air to replace it. This cold air cools the ground.