A greenhouse gas is any gaseous compound in the atmosphere that is capable of absorbing infrared radiation, thereby trapping and holding heat in the atmosphere.