Wood was used for thousands of years to produce energy and is still used in some parts of the world today, but it has caused widespread deforestation.
Coal is used by most countries to produce energy today but it causes pollution when it is burned and mining coal can cause pollution.