A coal-fired boiler burns pulverized coal to generate thermal energy and produce steam, with the coal ground to a fine powder, blown into the firebox, and burned along with air in the flue gas flow to heat water or generate electricity. Ash is produced during combustion and removed as bottom ash or fly ash. Coal-fired boilers dominate the electric power industry by providing steam to drive turbines that generate about 50% of the world's electricity.