Fossil fuels are fuels formed from the remains of ancient organisms. The three main types are coal, oil, and natural gas. Coal forms from decayed plant matter and takes hundreds of millions of years to form. Oil forms from the remains of tiny sea creatures and plants. Natural gas forms from decayed organisms and is composed primarily of methane. Fossil fuels are nonrenewable and an important source of energy.