Coal is necessary for a few professions where intense heat is required. Namely glassworking, metalcrafts, and pottery.
In Minecraft coal is primarly used for two things, use as fuel for furnaces, and to create torches. Coal ore is the most common ore in the game.
Train Simulator 2012
Some of the trains are presumably powered by coal.