Coal is a black or brown sedimentary rock composed mostly of carbon and hydrocarbons. It forms from dead plant matter that is buried deep underground over millions of years and undergoes heat and pressure. Burning coal releases carbon dioxide and other pollutants and byproducts that contribute to issues like global warming and acid rain. While coal is inexpensive and abundant, it is also non-renewable and mining and using it damages the environment.