Coal is used in some power pants to make electricity. The coals is pulverized into a powder that allows it to burn for efficiently. The heat created turns water into steam. They steam is pressurized and hits the blades of a turbine causing it to spin. The spinning turbine generates electricity.