Coal is a nonrenewable fossil fuel produced worldwide. It is formed when millions of years of pressure and heat turn the remains of prehistoric forests and swamps into coal. Coal is taken out of the earth either by deep mining (tunneling underground) or strip mining (digging out layers of earth). It exists in different grades or qualities.