When petrol or diesel burns in an engine, carbon dioxide gas – also known as CO2 – is the result.