Coal mining is the process of extracting coal from the ground. Coal is valued for its energy content and since the 1880s has been widely used to generate electricity.