Wood and Coal are also used to produce electrical, mechanical, and heat energy. Coal is mined underground near the earth's surface. It is burned in its natural form to produce heat. Coal can also be converted to a liquid or gas form. In that case, hydrogen is added to a heated, pressurized mix of coal to produce an oil-like liquid or gaseous product.