Stable climate entails a balance between incoming sunlight and outgoing infrared radiation. Infrared-absorbing greenhouse gases in a planet's atmosphere alter the details of this balance, causing the planet's surface to warm.