Why does burning fossil fuel pollute the air?

It produces carbon monoxide and other pollutants.