The burning of fossil fuels produces gases such as sulphur dioxide and nitrogen oxides that cause acid rain. Acid rain damages trees, land and buildings and affects aquatic life. The burning of fossil fuels produces carbon dioxide, which is responsible for the greenhouse effect on the earth. It also produces smoke and ashes, which pollute the air.