"Burning a gallon of gasoline releases almost 10 kgs of CO2 into the atmosphere"
I am not sure I understand the math here. 1 gallon of gasoline weights about 5kg, so how is that 10 kg of CO2 are released? Looks like mass will not be conserved in such a process. Am I missing something?
I haven't checked the math, but carbon from the fuel binds with oxygen from the air. CO2 consists of one carbon atom (12g/mol), two oxygen atoms (16g/mol). So, most of the weight comes from the oxygen from the air, rather than the fuel itself.