Natural gas is a fossil fuel that often forms on top of petroleum.