Natural gas formed when layers of disintegrating plant and creature matter are presented to extraordinary warmth and weight supplied by existing under the surface of the earth over large number of years. The energy that the plants initially acquired from the sun is put away as synthetic bonds in the gas.