Coal is a fossil fuel being created over a hundred million years ago, in swampy conditions. It consists of layer upon layer of what were rotting plants, which became compacted and over time became rich in hydrocarbons. Coal is found underground in bands or "seams", and each seam can represent hundreds or even thousands of years of plant growth. As such coal is a finite resource - once used it can never be replaced.