Coke is a grey, hard, and porous coal-based fuel with a high carbon content. It is made by heating coal or petroleum in the absence of air. Coke is an important industrial product, used mainly in iron oresmelting, but also as a fuel in stoves and forges.