Product detail:Coal is a combustible black or brownish-black sedimentary rock composed mostly of carbon and hydrocarbons. Coal is a nonrenewable energy source because it takes millions of years to create. The energy in coal comes from the energy stored by plants that lived hundreds of millions of years ago, when the earth was partly covered with swampy forests. For millions of years, a layer of dead plants at the bottom of the swamps was covered by layers of water and dirt, trapping the energy of the dead plants. The heat and pressure from the top layers helped the plant remains turn into coal.