Coal is a nonrenewable fossil fuel that was formed over millions of years from the remains of ancient plants. It is extracted through surface or underground mining then transported and used primarily to generate electricity in the United States. While an important energy source, burning coal also releases pollutants that can harm the environment. Efforts are underway to reduce these emissions and develop clean coal technologies.