This gas is produced during the incomplete combustion of carbon in the magma and can be poisonous to humans and animals.