A greenhouse gas (GHG) is a gas that absorbs and releases radiant energy in the thermal infrared spectrum, leading to the greenhouse effect and subsequently contributing to global warming.