Trees also store CO2. Actually, burning trees means less CO2 will be extracted from the air. More CO2 in the world means plants and trees can grow quicker.
If one believe CO2 is an issue (personally I don’t buy it), then burning trees is not a great way to fix the issue.