As this energy radiates back toward space as heat, a portion is absorbed by a delicate balance of heat-trapping gases in the atmosphere among them carbon dioxide and methane -- which creates an insulating layer.