To expand further, perhaps more than you need: :)
During fermentation while CO2 is still being produced, the amount of CO2 that stays in the beer varies with temperature. The colder it is, the more CO2 stays in solution. As fermentation warms up, more CO2 escapes into the headspace. CO2 that...