In the wrong circumstances, you can get carbon monoxide poisoning from anything that burns that contains carbon. This is most solid fuel (coal, wood etc), liquid fuels such as petrol diesel, heating oil, LPG and almost any gas fuel such as methane, butane.
Come to that, you can get CO poisoning from breathing in an unventilated space.