CO2, or carbon dioxide, is a colorless gas produced by the respiration of living organisms and the combustion of fossil fuels. It plays a crucial role in Earth's energy balance by trapping heat in the atmosphere, making it a significant greenhouse gas that influences climate and weather patterns.